delete_node
Delete a node and all its child nodes from an XMind file, while protecting root topics. Provide the file path and node ID to remove the branch.
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>",
"node_id": "<node_id>"
},
"name": "delete_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | 要删除的节点 ID | |
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 |