doc_convert
DOCX, XLSX, PPTX, ODT, ODS, RTF, CSV, HTML → PDF, DOCX, ODT, HTML, TXT, XLSX, CSV, PNG. Faithful layout, fonts embedded in PDF. Cost €0.005 per document, charged to the API key in Authorization: Bearer. Parameters — url: document url; source: source extension if url has none, e.g. docx; to: pdf (default) | docx | odt | html | txt | xlsx | ods | csv | pptx | png | jpg.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doc_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| url | No | ||
| source | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |