recall_with_graph
Search memory with Knowledge Graph expansion to retrieve broader context: related decisions, incidents, and learnings ranked by relevance and graph distance.
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. Use when you want broader context — related decisions, connected incidents, derived learnings.
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). |