loop_task_checkpoint
Persist fenced task progress with lease_epoch validation to reject stale or zombie writers, enabling safe checkpointing and resumable workflows.
Instructions
Persist fenced task progress; rejects zombie/stale lease_epoch writers.
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>",
"worker_id": "<worker_id>",
"lease_epoch": "<lease_epoch>",
"fence_token": "<fence_token>",
"checkpoint": "<checkpoint>"
},
"name": "loop_task_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| completed | No | ||
| worker_id | Yes | ||
| checkpoint | Yes | ||
| fence_token | Yes | ||
| lease_epoch | Yes |