get_preview
Returns a full mind map preview so models can inspect overall layout and colors, using the XMind embedded thumbnail when available or rendering an approximation otherwise.
Instructions
返回整图预览,让模型先看一眼整体版式和配色。优先用 XMind 保存时生成的缩略图(最接近软件里的真实效果);没有缩略图时自动用 matplotlib 自绘一张近似图。
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>"
},
"name": "get_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | 要自绘的工作表索引,从 0 开始(默认 0;缩略图模式下忽略) | |
| source | No | auto=有缩略图用缩略图、没有就自绘(默认);embedded=只要 XMind 缩略图;render=总是自绘 | |
| max_side | No | 长边像素上限(默认 1024) | |
| file_path | Yes | .xmind 文件路径 |