Get Anki collection operation status
get-collection-operationCheck the status of a submitted sync, database check, or Undo without starting another operation; if waiting for user, complete it in Anki and query the same operation ID again.
Instructions
Check a submitted sync, database check, or Undo without starting another. If waitingForUser, use Anki's UI and check the same operation ID again. Requires AnkiConnect v1.
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": "get-collection-operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operationId | Yes | Operation ID returned by a collection tool on this MCP server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| state | Yes | ||
| method | Yes | ||
| result | Yes | ||
| profile | Yes | ||
| operationId | Yes | Operation ID returned by a collection tool on this MCP server. |