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.
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). |