session_recall
Search a session transcript for exact text, including context compaction summarized away, and read specific messages in full from the live, still-running session.
Instructions
Get back exact text from one session, including what context compaction summarized away.
session_id: the session to search (the post-compaction checkpoint names it). query: words to find, e.g. an error string, file name or decision. source: claude | codex message: read message [mN] in full instead of searching.
Reads the transcript on disk directly, so it sees the current, still-running session.
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": {
"session_id": "<session_id>"
},
"name": "session_recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| source | No | claude | |
| message | No | ||
| max_hits | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |