reviewer.answer
reviewer_answerAnswer the active Anki review card using its retained review state and a chosen rating, then wait for backend completion and UI notifications before confirming success or veto.
Instructions
Answer the active card using reviewer-retained states and await actual completion.
Requires answer side and an offered rating. Do not resolve success until backend completion and UI notifications; reviewer hook veto returns vetoed.
Anki-Connect method reviewer.answer. Scope: collection. Effect: write. Completion: operation. Undo: single.
Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).
Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, invalidState, staleSession, vetoed.
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": {
"stateToken": "<stateToken>",
"rating": "<rating>"
},
"name": "reviewer_answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | Answer button: again, hard, good or easy. | |
| session | No | Optional. Collection session ID: the `session` field returned by `collection_get`. Usually omit it — the server then uses the session current at the time of the call. Pass it to make the call fail with `staleSession` instead of acting on a different profile/collection than the one your IDs, cursors and tokens came from. | |
| stateToken | Yes | Current `stateToken` from `reviewer_get`, taken after the answer is shown. | |
| timeoutSeconds | No | MCP option (not sent to Anki): how long to wait for completion. A timeout does not cancel the work; the pending record is returned. | |
| waitForCompletion | No | MCP option (not sent to Anki): poll operations.get until the operation finishes and return its final record. If false, return the operation handle. |