save_checkpoint
Call after each completed step with the state you would need to continue (cursor, ids done, partial results; up to 256 KB JSON). Pro saves it (last 20 per run, kept 30 days). Free watch-only saves nothing and returns would_save: exactly what would have been stored. Never put passwords or API keys in state.
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": {
"run_id": "<run_id>",
"step": "<step>",
"state": "<state>"
},
"name": "save_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | Optional list of completed item ids, so a resume skips them. | |
| step | Yes | The step you just finished, e.g. "imported page 3 of 10". | |
| state | Yes | JSON state needed to resume. | |
| run_id | Yes | A stable id for this job that survives a crash, e.g. "invoice-import-oct". Use the same id when you restart. |