read_session_turns
Paginate omp or agy session messages to inspect large conversations turn by turn and avoid exhausting context.
Instructions
Paginate through any omp or agy session message-by-message (useful for inspecting earlier middle turns of very large sessions without overwhelming context).
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": {
"source": "<source>"
},
"name": "read_session_turns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional workspace filter. | |
| limit | No | Number of messages to return. | |
| source | Yes | Session source ('omp' or 'agy'). | |
| session | No | Session ID, prefix, path, title substring, or 'latest'. | latest |
| start_turn | No | Zero-based message index to start reading from. | |
| include_tools | No | ||
| include_thinking | No | ||
| respect_compaction | No |