Convert File
convert_fileConvert a file to a different format by providing a public URL or base64 content. Get a temporary download link for the converted file.
Instructions
Convert a file from one format to another. Pass EITHER a publicly accessible URL (source_url) OR base64-encoded file contents (base64_content + source_format) — exactly one is required. Returns a temporary download URL (valid 1 hour; file deleted within 24 hours).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | No | Publicly accessible URL of the file to convert (preferred for large files) | |
| base64_content | No | Base64-encoded file content (for small files; max ~5MB) | |
| source_format | No | Source format extension (e.g. "docx", "mp4"). Auto-detected from URL if omitted. | |
| target_format | Yes | Target format extension (e.g. "json", "mp3", "pdf"). Required. | |
| filename | No | Optional filename hint for auto-detection (e.g. "document.docx") |