move_element
Moves an element and its children to another location in the same mind map, supporting reordering within a level or promotion and demotion across hierarchy levels.
Instructions
既存マップの要素1件(配下ごと)を、同じマップ内の別の場所へ移動する。階層をまたいだ移動(昇格・降格)も、同じ階層内の並べ替えも、これ1つで行える。
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": {
"mapId": "<mapId>",
"elementId": "<elementId>"
},
"name": "move_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | list_mapsで得たマップのID | |
| elementId | Yes | 移動する要素のID | |
| afterElementId | No | 移動先の中で、このIDの要素の直後に置く。先頭に置く場合はnullまたは省略 | |
| newParentElementId | No | 移動先の親要素のID。マップの最上位へ移動する場合はnullまたは省略 |