export_document
Exports a document's flashcards and quiz questions to an Anki-importable CSV file on your machine. Returns the file path; use output_path to customize, include_quiz false for only flashcards.
Instructions
Export a document's flashcards and quiz questions to an Anki-importable CSV file on this machine. Writes the file and returns its path; it does not return the CSV text. Defaults to <data_dir>/exports/document--anki.csv, or pass output_path to choose the location. Set include_quiz false to export only flashcards.
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": {
"document_id": "<document_id>"
},
"name": "export_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ||
| output_path | No | ||
| include_quiz | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||