Use when working with Anki-Connect's HTTP API to query decks/cards, move cards between decks, or manage media files by sending JSON requests to a local Anki instance on port 8765, including handling API versioning and optional authentication.
Use this skill to build or troubleshoot Anki-Connect API calls for local Anki automation. It focuses on request/response shape, versioning, authentication, and the action-specific payloads for cards, decks, and media.
key if configured.action, version, and params; always set version to 6 to keep the error field in responses.Read only the specific reference file needed to avoid loading the entire API documentation:
skills/anki-connect-api/references/overview.mdskills/anki-connect-api/references/card-actions.mdskills/anki-connect-api/references/deck-actions.mdskills/anki-connect-api/references/media-actions.md{
"action": "deckNames",
"version": 6
}
POST to http://127.0.0.1:8765 and read result or error from the response.