item-service-get-item-descendants
Retrieve every descendant of a Sitecore item by ID, including all fields. Use for full descendant data; large subtrees are fetched sequentially and may truncate at 5000 items.
Instructions
Gets every descendant of a Sitecore item by ID, with all their fields. Walks the tree client-side: one request per node, issued sequentially, so a large subtree costs seconds to minutes and returns an unpaged result. For structure only (paths, names, templates) at any depth, authoring-search with a '_path' criterion is one indexed query instead. Truncates at DESCENDANTS_MAX_ITEMS (5000) and says so. See the guide://tool-selection resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| options | No |