sessions_read
Reads a session's user and assistant text, oldest first, with limit and offset pagination, excluding tool calls and injected text. Use it to inspect conversation history.
Instructions
The user and assistant text of one session, oldest first, limit turns from
offset. Tool calls and text Claude Code injects are left out.
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": {
"id": "<id>"
},
"name": "sessions_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| limit | No | ||
| offset | No | ||
| all_projects | No |