export_document
Export a document to an absolute file path in formats such as PDF, DOCX, ODT, XLSX, ODS, CSV, HTML, or TXT. Specify the format explicitly or infer it from the path extension.
Instructions
Export a document to an absolute path in the given format.
format examples: pdf, docx, odt, xlsx, ods, csv, html, txt. Inferred from
the path extension if omitted.
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": {
"doc_id": "<doc_id>",
"path": "<path>"
},
"name": "export_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| doc_id | Yes | ||
| format | No |