filemorph
v0.1.0Convert files between 44 formats: documents, spreadsheets, images, ebooks, subtitles.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_formats
List every file format this converter reads or writes (id, name, extensions, family). Use the id values as `from`/`to` in other tools.
check_conversion
Check whether one format can be converted to another before sending a file. Returns the engine, whether AI Deep Read is needed, the options it accepts, and alternatives when the pair is not supported. Formats accept ids (docx), extensions (jpeg) or common names (word, excel).
| Parameter | Type | Description |
|---|---|---|
from * | string | Source format, e.g. pdf |
to * | string | Target format, e.g. docx |
list_conversions
List supported target formats for a source format (or every source that can produce a target). Returns compact {from,to,slug,engine,mode} rows.
| Parameter | Type | Description |
|---|---|---|
from | string | A source format (e.g. "pdf"), to list the target formats it can be converted to. |
to | string | A target format, to list every source format that can be converted into it. |
convert_file
Convert a file. Provide the content as base64 OR a public https URL. `from` is optional when the filename/URL has an extension. Text outputs (Markdown, CSV, JSON, HTML…) up to 200 KB are returned inline as `text`; other outputs are returned as `base64` plus a `downloadUrl` that accepts the same bearer token. Max 10 MB per file. Set `deepRead: true` to read scans, photos and handwriting with AI Deep Read (1 credit per page).
| Parameter | Type | Description |
|---|---|---|
to * | string | Target format id, e.g. md, docx, xlsx, png |
base64 | string | File bytes, base64-encoded |
deepRead | boolean | Use AI Deep Read (OCR + layout understanding) for PDFs and images |
filename | string | Original filename with extension, e.g. report.pdf |
from | string | Source format id; detected from the filename when omitted |
options | object | Engine options from check_conversion (delimiter, sheet, quality, …) |
url | string | Public https URL of the file (alternative to base64) |
get_conversion
Fetch a previous conversion by id: status, warnings, and the output (inline text or base64) if it is still retained.
| Parameter | Type | Description |
|---|---|---|
id * | string | The id of the conversion to fetch, as returned when the conversion was created. |