import_markdown_file
Converts a Markdown file at a given path into a new XMind mind map while preserving headings, lists, tables, code blocks, and quotes exactly as written.
Instructions
直接读取磁盘上的 Markdown 文件并逐行原样转成新的 XMind 文件:所有文字(标题、列表、表格、代码块、引用)都会保留,不做概括或精简。模型只需传文件路径,不要自行改写内容。
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": {
"file_path": "<file_path>",
"output_path": "<output_path>"
},
"name": "import_markdown_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | 要转换的 Markdown 文件路径(.md) | |
| output_path | Yes | 生成的 .xmind 文件路径 | |
| sheet_title | No | 工作表标题(可选,默认用第一个标题) |