claim_task
Take an exclusive execution lease on one task before working on it, so a second agent on the same board does not do the same work. Returns claimed=true with an expiry, or claimed=false naming the agent already executing it, or claimed=false when the task is already DONE (with its status and when it changed). The lease lapses on its own after 10 minutes, so a crashed agent never blocks a task permanently; call renew_task_lease about every 3 minutes while the work continues, and release_task when finished. Optional ttlMinutes sets a different lifetime. A lease does not change who the task is assigned to and does not grant any permission; use assign_task for ownership. Caller needs task.edit.any on the project, or task.edit.own on a task they are assigned or created.
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": {
"taskId": "<taskId>"
},
"name": "claim_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task to lease. | |
| ttlMinutes | No | Lease lifetime in minutes. Defaults to 10, capped at 60. |