get_context_history
Read paginated context provenance history for a task to inspect past values. Filter by key and follow cursors for complete, bounded results.
Instructions
Read a bounded page of the append-only context provenance ledger. Prefer key to narrow history. Follow the JSON next_cursor using history_cursor for older entries; a Next text cursor instead continues a large current page with identical selectors. History remains complete and explicitly paginated.
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": {
"task_id": "<task_id>"
},
"name": "get_context_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Optional context key to filter history | |
| limit | No | History entries per API page (default 25) | |
| cursor | No | Next text cursor returned by a large read. Repeat identical selectors; changed content invalidates the cursor. | |
| task_id | Yes | The task ID whose context history to read | |
| max_chars | No | Maximum response characters (default 6000); omitted data remains explicitly retrievable. | |
| history_cursor | No | API next_cursor from the complete previous JSON history page |