application.navigate
application_navigateNavigate the Anki main window to deck browser, deck overview, or review; pass a deck only for overview or review to switch views programmatically.
Instructions
Navigate the main window to a requested view.
deck is required for deckOverview/review and prohibited for deckBrowser.
Anki-Connect method application.navigate. Scope: collection. Effect: gui. Completion: operation. Undo: none.
Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).
Possible errors: collectionUnavailable, internalError, invalidParams, invalidState, notFound, staleSession.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Deck for deckOverview/review: exactly one of {"id": "<deckId>"} or {"name": "<full deck name, e.g. Japanese::Verbs>"}. | |
| view | Yes | `deckBrowser`, `deckOverview` or `review`. | |
| 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. | |
| 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. |