claim_task
Claim a specific task as your own assignment to prevent duplicate work. Locks the task atomically; if another worker already claimed it, returns an error so you can pick a different task.
Instructions
Claim a task for yourself before working on it. This is atomic: the claim
is a unique assignment row in Planka, so a second worker racing for the same
task gets already_taken back and should simply pick another task. Claiming
a task you already hold succeeds again without side effects. You can only
ever claim a task for yourself, never for another user.
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>"
},
"name": "claim_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task id to claim, taken from list_actionable_tasks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||