Save agent task state
threadkeep_checkpointDurably save goal, completed work, decisions, constraints, next actions, blockers and artifact references before a context reset or handoff. Full replacement; expected_version=0 creates a task. Reuse request_id only for identical retries. Requires an agent key; never stores credentials or calls an AI model.
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>",
"expected_version": "<expected_version>",
"request_id": "<request_id>",
"state": "<state>"
},
"name": "threadkeep_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| task_id | Yes | ||
| request_id | Yes | ||
| expected_version | Yes |