convert_chain
Conversion Chain — Run a 1-5 step conversion pipeline in one job, e.g. docx → pdf → epub. Each step's engine is auto-picked from the conversion graph. Input format comes from the 'from' field when given, else magic-byte detection — ALWAYS pass 'from' for text-based inputs (csv, md, html, json): they have no magic bytes and detect as plain txt. Business tier only. [category: convert] [requires the business plan]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Max 100 MB — tighter than single-tool caps because chains amplify temp disk. | |
| from | No | Optional source-format override, e.g. 'csv', 'md', 'xlsx'. REQUIRED in practice for extensionless text inputs — magic bytes can't distinguish csv/md/yaml from txt. | |
| steps | Yes | JSON array of {to, engine?} step objects. Example: '[{"to":"pdf"},{"to":"epub"}]' |