federation_heartbeat
Extend a role-task lease with task_id, worker_id, and claim_token while a worker performs it. Returns stale when the task has already been reassigned.
Instructions
Исполнитель продлевает lease роль-таска (task_id, worker_id, claim_token), пока играет роль. stale → задача уже переназначена.
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>",
"claim_token": "<claim_token>"
},
"name": "federation_heartbeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| worker_id | Yes | ||
| claim_token | Yes |