Read turns
read_turnsRetrieve a bounded page of turns from a specific story branch, showing only that branch and its ancestors up to the fork point so sibling branches stay hidden.
Instructions
Read one bounded page of turns from a specific branch. Only that branch's own turns and its ancestors' history up to its fork point are visible; sibling branches never leak into the page. Read-only.
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": {
"story_id": "<story_id>"
},
"name": "read_turns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| story_id | Yes | ||
| branch_id | No | ||
| full_text | No | ||
| before_cursor | No | ||
| include_incomplete | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| turns | Yes | ||
| window | Yes | ||
| story_id | Yes | ||
| branch_id | Yes |