get_subtree
Return a task and all its descendants up to a given depth. Use this when you have a root task id and want parent + children + grandchildren in one call. PREFER get_plan when you need the whole project tree; PREFER list_tasks(parentId) when you want exactly one level. Caps: maxDepth ≤ 5 (default 3), total nodes ≤ 200. Each node carries title / description / status / priority / progress / dueDate / assignee / collaborators / isMilestone / updateRevision (+ agentBrief when includeAgentBrief=true). The response also returns totalDescendants (the full count under the root, ignoring the caps) so you can tell when the tree was truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Default 3, max 5. Root is depth=0. | |
| rootTaskId | Yes | The root task whose subtree you want. | |
| includeAgentBrief | No | Default false. Include agentBrief on each node. |