Delete deck
anki_delete_deckDelete an Anki deck, its subdecks, and all their cards with a preview-and-token confirmation; the deck is exported to an .apkg backup first for safe re-import.
Instructions
Delete a deck, its subdecks and all their cards. Two-step: preview + token, then call again with confirm_token. The deck is first exported (with review history) to an .apkg in the backup folder, which can be re-imported via Anki's File -> Import.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "anki_delete_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||