move_node
Move a node to a new parent within an XMind map, optionally placing it before or after a sibling for precise ordering.
Instructions
把节点移动到新的父节点下,可用 before_id/after_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": "move_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | 要移动的节点 ID | |
| after_id | No | 插到该兄弟节点之后(可选) | |
| auto_save | No | 是否自动保存(默认 false) | |
| before_id | No | 插到该兄弟节点之前(可选) | |
| file_path | Yes | .xmind 文件路径 | |
| new_parent_id | Yes | 新父节点 ID |