anki_check_connection
Verify Anki is running and AnkiConnect is reachable. Use this first when other Anki tools fail to distinguish a closed Anki from an invalid request.
Instructions
Check that Anki is running and AnkiConnect is reachable.
Call this first when any other Anki tool fails — it distinguishes "Anki is closed" from "the request itself was wrong".
Returns the AnkiConnect API version (6) on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | How a tool should render its result. A `StrEnum` so the members compare equal to the plain strings a client sends over the wire (`"markdown"`, `"json"`). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |