Delete decks
delete_decksDeletes Anki decks by name, optionally removing all their cards permanently. Use with care because deletions cannot be undone through the API; confirm with the user before calling.
Instructions
Deletes decks by name. WARNING: with cardsToo=true every card in those decks is permanently deleted as well; recent AnkiConnect versions require cardsToo=true and refuse otherwise. Cannot be undone through this API. Confirm with the user before calling. Returns null on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decks | Yes | Names of the decks to delete. | |
| cardsToo | No | true deletes the cards in those decks as well. |