convert_file
Convert a document, spreadsheet, presentation, image, PDF, or data file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Original filename (with extension); used to detect the source format and name the output. | |
| source_url | No | Public URL to the source file or webpage (preferred). For a webpage to PDF, point at the page and use target_format='pdf'. | |
| file_base64 | No | Base64-encoded source file. Use only when there is no URL. | |
| source_format | No | Source format token (e.g. 'docx', 'pdf', 'png', 'html', 'url'). Inferred from filename/URL if omitted. | |
| target_format | Yes | Desired output format, e.g. 'pdf', 'csv', 'png'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||