get_knowledge_graph
Build a knowledge graph from stored memories, returning entities as nodes and relationships as edges. Use to visualize connections between concepts.
Instructions
Build a knowledge graph from stored memories. Returns entities as nodes and relationships as edges. Use for visualizing connections between concepts. Requires enhanced intelligence mode with prior entity extraction. Read-only. Returns: {nodes[], edges[]} where nodes have {id, type, name, memories[]} and edges have {from, to, type, confidence}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_knowledge_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum nodes to return. Range: 1-100. Default: 20. Edges limited proportionally. | |
| entity_name | No | Filter nodes containing this name (case-insensitive substring match). Omit for all entities. | |
| entity_type | No | Filter nodes by type: 'people', 'organizations', 'technologies', or 'projects'. Omit for all types. | |
| relationship_type | No | Filter edges by relationship: 'WORKS_FOR', 'USES', 'BUILT_WITH', 'KNOWS', etc. Omit for all relationships. |