duplicate_node
Copies a node and its entire subtree under a new parent in an XMind file, creating an independent copy with new node IDs.
Instructions
把节点(含其整棵子树)复制到新父节点下,生成新的 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>",
"node_id": "<node_id>",
"new_parent_id": "<new_parent_id>"
},
"name": "duplicate_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | 要复制的节点 ID | |
| auto_save | No | 是否自动保存(默认 false) | |
| file_path | Yes | .xmind 文件路径 | |
| new_parent_id | Yes | 目标父节点 ID |