import_deck
Restore Anki flashcards by importing a .apkg file from the archive directory.
Instructions
Import/restore a .apkg file from the archive directory.
Args: filename: Name of the .apkg file in the configured archive directory
Returns: Confirmation of 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": {
"filename": "<filename>"
},
"name": "import_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |