task_claim
Claim a pending task by its ID to mark it as running and record the claimant. Prevents conflicts by rejecting tasks that are not pending or already claimed.
Instructions
Claim a pending task by id. Transitions pending→running, records claimant. Rejects if not pending (blackboard auto-claim).
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": "task_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| agent_name | No |