operations.cancel
operations_cancelRequest cancellation of a queued or running long-running operation by operationId; terminal operations return requested=false, and no rollback is guaranteed.
Instructions
Request supported cancellation without claiming rollback.
Already terminal returns requested=false. Queued operations can cancel; running operations use native cancellation only. A cancellation request may lose a race with success.
Anki-Connect method operations.cancel. Scope: application. Effect: lifecycle. Completion: completed. Undo: none.
Possible errors: internalError, invalidParams, notFound, unsupportedCapability.
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": {
"operationId": "<operationId>"
},
"name": "operations_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operationId | Yes | `operationId` from the operation handle returned by a long-running tool (or by `operations_get`). |