Convert a file
convert_fileConvert a file from a public URL to another format, e.g. OFD→PDF, HEIC→JPG, STEP→STL, WEM→MP3, DOCX→PDF. Downloads the file, converts it, and returns a download link (valid ~4 hours). Most conversions finish within the call; if not, the result has status "processing" and a job_id for get_conversion_status. The file must be reachable over the internet; up to 50 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target format extension, e.g. "pdf", "jpg", "stl", "mp3". | |
| from | No | Source format extension. Only needed when the URL and filename do not end in one. | |
| file_url | Yes | Public http(s) URL of the file to convert. Google Drive and Dropbox share links work. | |
| filename | No | Name for the file, with extension, e.g. "invoice.ofd". Optional. |