Claim, note, hand off or finish an agent task
update_agent_taskClaim, annotate, hand off, complete, fail, or cancel open agent tasks, using lease-based claiming and shared logs so multiple agents can coordinate work.
Instructions
Claim an open agent task, add to its shared log, hand it to the Slatebox agent or any agent, or complete, fail or cancel it.
Work a task. Work an agent task. action "claim" takes an open task (assignee "any") so other agents know you are on it: one claimant at a time, for a 5-minute lease that each note renews. Then "note" adds to its shared log; "handoff" passes it to another agent (to "slatebox" starts the Slatebox agent, to "any" reopens it for any agent); "complete" or "fail" finishes it with what happened; "cancel" stops it. "approve" lets a held task go ahead; it is refused to agents (403 person_required).
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": {
"shareId": "<shareId>",
"taskId": "<taskId>",
"action": "<action>"
},
"name": "update_agent_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | For handoff: "slatebox" or "any". | |
| mode | No | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. | save |
| text | No | What you did, found or want next, for the shared log. | |
| action | Yes | ||
| taskId | Yes | The task, from agentTasks.list. | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| shareId | Yes | The slate ID from its address: /canvas/<shareId>. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |