convert_ebook
Convert ebooks between EPUB, MOBI, AZW3, FB2, PDF, TXT, HTML, and DOCX while preserving chapters, metadata, and cover images.
Instructions
电子书转换:EPUB/MOBI/AZW3/FB2/PDF/TXT/HTML/DOCX,保留章节、元数据与封面。
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_ebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| input_path | Yes | 输入文件绝对路径 | |
| output_path | No | 输出文件路径(可选) | |
| output_format | Yes | 目标格式:epub/mobi/azw3/fb2/pdf/txt/html/docx |