browser.open
browser_openOpen Anki's card browser with an optional search query and column sort, then wait until the search completes so you can inspect filtered cards immediately.
Instructions
Open the browser and finish after the requested search/sort completes.
Omitted query preserves existing browser search. Explicit direction is applied regardless of previous/default column order.
Anki-Connect method browser.open. 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, invalidSearch, invalidState, staleSession.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Optional browser-column sort, e.g. {"column": "noteFld", "direction": "ascending"} (`column` is an Anki browser column key such as noteFld, cardDue). Default: ascending ID order. | |
| query | No | Search to show in the browser; omit to keep the browser's default. | |
| 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. |