convert_markup
Convert markup documents across formats like Markdown, HTML, reStructuredText, AsciiDoc, LaTeX, Org, MediaWiki, EPUB, Typst, and plain text. Provide an input path and target format to get the transformed output.
Instructions
标记/文本转换:Markdown/HTML/reStructuredText/AsciiDoc/LaTeX/Org/MediaWiki/EPUB/Typst/纯文本/Jupyter。
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_format": "<output_format>"
},
"name": "convert_markup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| input_path | Yes | 输入文件绝对路径 | |
| output_path | No | 输出文件路径(可选) | |
| output_format | Yes | 目标格式:md/html/pdf/docx/rst/latex/asciidoc/epub/tex/org/txt |