recall_with_graph
Search memory with Knowledge Graph expansion to retrieve connected context—related decisions, incidents, and learnings—ranked by composite score with hop distance and provenance.
Instructions
Search memory with Knowledge Graph expansion. Seeds from hybrid recall, then BFS-traverses memory_edges up to hops depth. Returns memories ranked by composite score with hop_distance and provenance fields. Returns broader context: related decisions, connected incidents, derived learnings. Slower and wider than recall: use it for the connected context around a topic, recall for a single fact.
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": {
"q": "<q>"
},
"name": "recall_with_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query (keywords or natural language). | |
| hops | No | Graph traversal depth (default 2, max 5). | |
| task_id | No | Optional task ID — used as cache key discriminator for session-scoped traversal. | |
| project_id | No | Filter to a specific project. | |
| weight_threshold | No | Minimum edge weight to follow (default 0.3). |