query_memory_store
Retrieve semantic triples, causal reasoning chains, and entity similarity clusters from local agent memory to recall past decisions and trace dependencies without modifying stored knowledge.
Instructions
Queries semantic triples, causal reasoning graphs, and MinHash entity clusters from the local agent memory store, distinguishing from 'manage_memory_store' and 'search_codebase' by retrieving episodic reasoning relations rather than modifying memory records or searching repository code.
Parameters:
query(str, required): Entity name, concept, or search query to look up in the memory store.query_mode(str, optional, default='semantic'): Query strategy: 'semantic' for triple & relation lookup, 'causal_chain' for temporal cause-and-effect traces, 'minhash' for sub-microsecond entity similarity clusters.project_root(str, optional, default='.'): Workspace root where memory store is located (default: current directory).
Behavior:
Read-only: Queries persistent memory store without altering stored knowledge.
Idempotent: Returns consistent knowledge relations for identical queries.
100% Offline: Local graph and MinHash index lookup without network traffic.
Auth & Rate Limits: Zero authentication or cloud credentials required; query latency <10ms.
Error Handling: Returns empty graph notice if the queried entity does not exist in the codebook.
Usage Guidelines:
When to use: Recall past agent decisions, query knowledge graph entity relations, or trace causal dependency chains across reasoning sessions.
When NOT to use: Do not use for modifying, compressing, or deleting memory stores (use 'manage_memory_store' instead); do not use for searching source code in the repository (use 'search_codebase' instead).
Returns: Markdown report with extracted semantic triples, graph relationships, or causal inference chains.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Entity name, concept, or search query to look up in the memory store. | |
| query_mode | No | Query strategy: 'semantic' for triple & relation lookup, 'causal_chain' for temporal cause-and-effect traces, 'minhash' for sub-microsecond entity similarity clusters. | semantic |
| project_root | No | Workspace root where memory store is located (default: current directory). | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |