file_convert
Convert files between Markdown, HTML, CSV, JSON, and plain text formats. Returns output path, format, and preview.
Instructions
Convert between MD/HTML/CSV/JSON/Text formats.
Supported: md -> html | txt | json html-> md csv -> json | md_table json-> csv | md_table | pretty txt -> md
Returns dict: {status, output_path, output_format, preview, error?}
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>",
"fmt": "<fmt>"
},
"name": "file_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |