debug_retrieval
Diagnose why specific memory nodes are retrieved for a query by analyzing embedding previews, context-window 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. | |
| max_nodes | No | Maximum number of flat and tiered node matches to include. | |
| max_depth | No | Relationship traversal depth for the flat retrieval comparison. | |
| 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. |