Export an Anki deck
export_anki_deckExport a LingoChunk deck to an Anki .apkg file and receive a download link. Requires deck ID from list_decks.
Instructions
Export one of the user's decks to an Anki .apkg and return a download URL. Running it costs nothing (no LLM). This starts the export and polls status for up to ~60s, absorbing rate limits with a Retry-After backoff and never starting a second job while one is already in flight. It returns {status:'ready', download_url} when the file is ready, {status:'pending'} (call again shortly to keep checking) while it generates, {status:'failed'} to retry, or {status:'none'} (nothing to download; call again to trigger a fresh export). A deck with no linked source episode cannot be exported (400). Use list_decks to find a deck_id. Requires the decks:export scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck_id | Yes | The deck to export (from list_decks). |