export_deck
Export an Anki deck to .apkg, .colpkg, or JSON format with optional media for sharing or backup.
Instructions
Export a deck to an Anki package (.apkg), full collection package (.colpkg), or structured JSON 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_name": "<deck_name>",
"target_path": "<target_path>"
},
"name": "export_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | apkg | |
| deck_name | Yes | ||
| target_path | Yes | ||
| include_media | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||