task_heartbeat
Renew a running task lease by sending a heartbeat before expiry, allowing long-lived workers to retain ownership and avoid losing claimed tasks.
Instructions
Renew a running task lease. Long-lived workers should heartbeat before lease expiry.
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": {
"id": "<id>",
"leaseId": "<leaseId>"
},
"name": "task_heartbeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| leaseId | Yes | Opaque lease returned by task_claim/task_next. Required while a worker owns the task. |