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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"to": "<to>"
},
"name": "carrel_convert"
}
}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). |