pandoc_convert
Convert documents between formats such as DOCX, HTML, Markdown, and reStructuredText; PDF output requires a LaTeX engine. Runs sandboxed to block access to other files and filters.
Instructions
Convert documents with pandoc (docx, html, md, rst, pdf output needs a LaTeX engine...). Runs in --sandbox mode so the document cannot read other files or run filters.
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": {
"input_path": "<input_path>",
"output_path": "<output_path>"
},
"name": "pandoc_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_format | No | ||
| input_path | Yes | ||
| from_format | No | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |