graph_walk
Traverse the session graph from a seed memory ID to find related memories by BFS depth, helping agents surface connected cross-session context.
Instructions
Walk the session graph from a seed memory to find related memories.
Args: seed_memory_id: Full memory ID to start from depth: BFS depth (1 = direct neighbours, 2 = neighbours of neighbours)
Returns: JSON list of related memories
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": {
"seed_memory_id": "<seed_memory_id>"
},
"name": "graph_walk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| seed_memory_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |