query_graph
Search a persistent knowledge graph of prior conversations, decisions, and preferences. Accepts natural-language queries and returns a subgraph of matching nodes and their connections. Supports temporal references like 'recently' and 'last week'. Tune retrieval depth and mode for precise context.
Instructions
Automatically search the memory graph before answering questions that may depend on prior context, user preferences, project decisions, constraints, or earlier conversation state. Returns a serialized subgraph with matching nodes and their connected neighborhood. Understands temporal references such as 'recently', 'latest', 'originally', and 'last week'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language search query. | |
| max_nodes | No | Maximum number of matching nodes to return. | |
| max_depth | No | Relationship traversal depth around matching nodes. | |
| expand_depth | No | Optional support expansion depth. At 1, graph mode may return up to twice max_nodes. | |
| agent_id | No | Optional agent or client identifier used to partition memory. | |
| project | No | Optional project or workspace name used to partition memory. | |
| session_id | No | Optional conversation or run identifier used to partition memory. | |
| retrieval_mode | No | Retrieval strategy: graph-only, transcript replay, or fused graph plus replay results. | graph |