workflow_checkpoint
Atomically persist pipeline step outputs and advance step counter for workflow resumption. Supports idempotent replay by overwriting same step outputs.
Instructions
Atomically persist a completed step's output and advance the step counter.
Call this immediately after each pipeline step completes, before starting the next one. A replacement agent can resume from the last checkpoint using workflow_resume().
The output can be any JSON-serialisable value (dict, list, str, …). If step N was already checkpointed, calling again with the same step overwrites the stored output (idempotent replay support).
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>",
"output": "<output>"
},
"name": "workflow_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | ||
| output | Yes | ||
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| step | Yes | ||
| run_id | Yes |