add_image
Inserts a local image into a specified XMind node and updates the .xmind package references so the image displays correctly; supports PNG, JPG, GIF, BMP, and WebP.
Instructions
给节点插入一张本地图片(复制进 xmind 包并更新引用,支持 png/jpg/gif/bmp/webp)。
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>",
"node_id": "<node_id>",
"image_path": "<image_path>"
},
"name": "add_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | 要插入图片的节点 ID | |
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| image_path | Yes | 本地图片的绝对路径 |