get_image
Read an image embedded in a specific XMind node and return it as a picture so multimodal models can view diagrams, screenshots, or handwriting, with the long side capped at 1024 px by default.
Instructions
读取节点的图片本身并作为图片返回,多模态模型可直接看图(图表、截图、手写内容都能理解)。默认把长边压到 1024 并转 JPEG,控制 token 成本。
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>"
},
"name": "get_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | 包含图片的节点 ID | |
| max_side | No | 长边像素上限(默认 1024) | |
| file_path | Yes | .xmind 文件路径 |