set_theme_style
Sets theme-level default styles for XMind topic hierarchies, so font, shape, color, line, border, and alignment settings apply consistently to center, branch, subtopic, and free topics.
Instructions
设置主题级默认样式,影响整个层级的节点:中心主题 / 分支主题 / 第三层级主题 / 细分主题 / 自由主题。参数与 set_node_style 一致(font_color、font_size、shape、background_color 等,不含 importance)。
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_theme_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | 主题层级:中心主题 / 分支主题 / 第三层级主题 / 细分主题 / 自由主题 | |
| shape | No | ||
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| font_size | No | ||
| font_color | No | ||
| font_style | No | ||
| line_color | No | ||
| line_width | No | ||
| text_align | No | ||
| font_family | No | ||
| font_weight | No | ||
| sheet_index | No | 工作表索引,从 0 开始(默认 0) | |
| border_color | No | ||
| border_width | No | ||
| fill_pattern | No | ||
| line_pattern | No | ||
| border_pattern | No | ||
| font_transform | No | ||
| font_decoration | No | ||
| background_color | No |