gui_import_file
Import Anki decks or cards from APKG or CSV files by opening the import dialog for the specified file path.
Instructions
Open Anki's import dialog for the file at 'path' (e.g. a .apkg/.csv).
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": {
"path": "<path>"
},
"name": "gui_import_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |