carrel_convert
Convert a file to another supported type such as PDF, Markdown, text, HTML, JSON, XML, CSV, image, or document format; text targets also return converted content inline (up to 1 MiB).
Instructions
Convert a file to another supported type. Text targets also return the converted content inline (capped at 1 MiB).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target type: pdf, md, txt, html, json, xml, csv, png, jpg, ico, docx, odt, epub. | |
| path | Yes | Source file. | |
| root | No | Desk root (default: server --root / cwd). | |
| force | No | Overwrite an existing output. | |
| out_dir | No | Directory for the output (default: next to the source). |