op_cancel
Stops a pending or running file operation by its id, useful when a queued task must be halted. Some operations finish what they start and cannot be cancelled.
Instructions
Stop one of your pending or running operations. FINISHED: it has already ended; NOT_CANCELLABLE: it is one that finishes what it starts (a rename, a restore, a permanent delete).
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": {
"id": "<id>"
},
"name": "op_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the operation's id (op.id from the tool that queued it, or ops_list) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | the operation's JSON answer - the body its REST twin under /api/ai answers (an object) | |
| status | Yes |