explain_recall
Explains why a memory was recalled for a query: shows BM25, vector, RRF scores, rank, and keywords. Debug recall issues or why a specific capture was or wasn't retrieved.
Instructions
Explain WHY a memory was recalled for a given query. Shows the BM25 score, vector score, RRF fused score, rank, and matching keywords for each result. Use this to debug unexpected recall results or to understand the retrieval pipeline. If you provide a capture_id, the tool explains why that specific capture was or was not retrieved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | The search mode to explain. | hybrid |
| limit | No | The maximum number of results to explain. | |
| query | Yes | The same query you used with recall or search. | |
| task_id | No | The task ID. Use this to isolate memory by a specific task. Link captures to a task for finer isolation. | |
| team_id | No | The team ID. Use this to isolate memory by team. When set, all queries filter by this value. | |
| user_id | No | The user ID. Use this to isolate memory by user within a team. When set with team_id, queries filter by both. | |
| agent_id | No | The agent ID. Use this to isolate memory by agent role within a team. Defaults to the detected agent. | |
| capture_id | No | Optional. The ID of a specific capture to explain. If set, the tool shows why this capture was or was not in the results. | |
| session_key | No | The session key. The default is hash(cwd). |