memory_graph
Export a subgraph of related memories for visualization. Specify a center memory or query, depth, and node limit to generate force-directed layout positions with weighted edges.
Instructions
Subgraph export for visualization. Input: center_id or query, depth (1-3), max_nodes. Returns nodes with force-directed layout positions and edges with weights. Powers memory graph visualization.
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": "memory_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many hops from center to include (1-3, default: 2) | |
| query | No | Search query to find center node. Used if center_id not provided. | |
| center_id | No | Memory ID to center the graph on. Required if no query. | |
| max_nodes | No | Maximum number of nodes to include (default: 50) |