delete_empty_nodes
Removes all empty-titled regular nodes and their subtrees from an XMind file while preserving the root topic and summary or comment nodes.
Instructions
删除所有空标题的普通节点(含其子树),跳过根主题和概要/批注节点。
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": "delete_empty_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 |