open_record
Retrieve a session record by episode_id with surrounding turns, paginate it using offset and next_offset, and locate specific words or phrases inside it.
Instructions
Read a session record (episode_id from search_sessions or code_history) with the turns around it. A long record comes in pages: total_chars, offset and next_offset (null at the end) say where the page sits; call again with offset=next_offset for the next one. find="words" lists where they occur in the record and starts the page at the first match.
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": {
"episode_id": "<episode_id>"
},
"name": "open_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | No | words or a phrase to locate inside the record | |
| after | No | ||
| before | No | ||
| offset | No | character offset of the page in the record | |
| max_chars | No | ||
| episode_id | Yes |