导出公众号 HTML
xiumi_get_htmlExports the current Xiumi article as paste-ready HTML with inline styles for WeChat, optionally saving it to a file and returning only the path and length to save context.
Instructions
通过秀米「导出 → 继续用复制粘贴」把当前文章导出为公众号可用的最终 HTML(内联样式)。设置 saveToFile 时写入文件并只返回路径和长度,避免长文占用上下文。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "xiumi_get_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saveToFile | No | 保存到的绝对路径(.html);不填则直接返回 HTML 文本 |