ai-cancel_work_item
ai-cancel_work_itemCancel a pending work item that hasn't started processing. Prevents unnecessary processing by aborting queued items.
Instructions
Cancels a pending work item (pending → cancelled). Cannot cancel items that are already processing.
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": {
"work_item_id": "<work_item_id>"
},
"name": "ai-cancel_work_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_item_id | Yes | Work item ID (@rid format) |