claude_code_transcript
Retrieve a full conversation transcript from Claude Code storage. Provide a session ID to get chronological user/assistant messages, useful for reviewing past interactions or debugging.
Instructions
Retrieve the full conversation transcript for a session from Claude Code's storage. Returns chronological user/assistant messages. Use session_id from a prior query or timeline lookup.
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": "claude_code_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID to retrieve transcript for | |
| limit | No | Maximum number of messages to return | |
| offset | No | Skip this many messages from the start | |
| include_system | No | Include system messages (default: false) |