export_deck
Export an Anki deck to an .apkg file in the configured archive directory. Optionally delete the deck from Anki after export.
Instructions
Export a deck to .apkg file in the configured archive directory.
Args: deck: Deck name to export archive: If true, also delete the deck from Anki after export
Returns: Path to the exported .apkg file
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": {
"deck": "<deck>"
},
"name": "export_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | ||
| archive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |