task_block
Block a task by providing a reason; optionally compare-and-swap using expected revision, while keeping the run lease alive.
Instructions
Block a task with the reason. Omit expected_revision to block the current revision. Keeps your run lease alive.
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>",
"reason": "<reason>"
},
"name": "task_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Non-blank reason for blocking the task. | |
| task_id | Yes | Canonical UUIDv7 task identifier. | |
| expected_revision | No | Optional current task revision for compare-and-swap; omit to block the current revision. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| schema_version | Yes |