convert_document
Convert documents between Word, Markdown, PDF, HTML, and plain text. Provide input and output paths, select the target format, and control quality, image inclusion, and formatting preservation.
Instructions
转换文档格式,支持Word、Markdown、PDF、HTML等格式互转
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": {
"inputPath": "<inputPath>",
"outputPath": "<outputPath>",
"outputFormat": "<outputFormat>"
},
"name": "convert_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| inputPath | Yes | 输入文件路径 | |
| outputPath | Yes | 输出文件路径 | |
| outputFormat | Yes | 目标格式 |