loop_task_claim
Atomically claims a task using CAS lease epoch and fence token, returning a compact resume packet so distributed workers can safely resume without duplicate execution.
Instructions
Atomically claim a task with CAS lease_epoch, fence_token, and compact resume_packet.
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": {
"worker_id": "<worker_id>"
},
"name": "loop_task_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regime | No | ||
| task_id | No | ||
| namespace | No | ||
| worker_id | Yes |