debug_retrieval
Diagnose memory retrieval ranking by previewing query embeddings, routing scores, and comparing flat and tiered node matches.
Instructions
Diagnose memory retrieval ranking for a query. Returns query embedding preview, context-window routing scores, selected windows, flat top nodes, and tiered top nodes for comparison.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language search query to diagnose. | |
| project | No | Optional project or workspace name used to partition memory. | |
| agent_id | No | Optional agent or client identifier used to partition memory. | |
| max_depth | No | Relationship traversal depth for the flat retrieval comparison. | |
| max_nodes | No | Maximum number of flat and tiered node matches to include. | |
| session_id | No | Optional conversation or run identifier used to partition memory. | |
| retrieval_mode | No | Which retrieval stack to diagnose. | hybrid |