set_sheet_layout
Switch the layout of a specified worksheet in an XMind file—e.g., mind map, logic chart, org chart, timeline, fishbone, matrix, or tree table—and optionally auto-save changes.
Instructions
切换工作表的布局结构,支持中文名:思维导图 / 逻辑图 / 括号图 / 组织结构图 / 树形图 / 时间轴 / 鱼骨图 / 矩阵图 / 树型表格,也支持 XMind 内部 ID。
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": "set_sheet_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | 布局结构(默认 思维导图) | |
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| sheet_index | No | 工作表索引,从 0 开始(默认 0) |