get_subtree
Retrieve a node and its descendants as a nested tree from a mind map. Optionally limit the depth to control how many levels are included.
Instructions
Read a node and its descendants as a nested tree. Omit depth for the full subtree; 0 returns just the node.
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>",
"nodeId": "<nodeId>"
},
"name": "get_subtree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Maximum descendant levels to include. | |
| mapId | Yes | The map id. | |
| nodeId | Yes | The node id (unprefixed, as returned in node trees). |