recall_thread
Retrieve surrounding conversation entries before and after a search hit's turn_id in chronological order to restore missing context from the same session.
Instructions
§4.3.1 — Retrieve the memories sharing a turn_id plus N entries before and after in chronological order. Use this when a search_memory hit lacks enough context: pass the hit's turn_id here to surface the surrounding conversation thread. Only entries of the session of that turn are returned. Returns {status:'not_found'} if turn_id is unknown, and {status:'ambiguous', session_ids} if the turn_id is in several sessions: call again with one of them as session_id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"turn_id": "<turn_id>"
},
"name": "recall_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Number of later entries to include (default 2). | |
| before | No | Number of earlier entries to include (default 2). | |
| turn_id | Yes | The turn_id from a search_memory result. | |
| session_id | No | Optional. The session of the turn, when the same turn_id is in several sessions. |