Get Knowledge Graph
lyzr_kg_get_graphRetrieve the knowledge graph for a specified knowledge base using its ID. Optionally set a limit on nodes and edges returned.
Instructions
Fetch the knowledge graph for a knowledge base.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rag_id": "<rag_id>"
},
"name": "lyzr_kg_get_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max nodes/edges to return (default 50) | |
| rag_id | Yes | Knowledge base id |