get_descendants
Retrieve all descendants of a Roblox instance with optional filters for class, name, and traversal depth to isolate specific objects in the hierarchy.
Instructions
Get all descendants of an instance with optional class/name filters and depth limit
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Optional: maximum depth to traverse (default: unlimited) | |
| nameFilter | No | Optional: only include instances whose name contains this string | |
| classFilter | No | Optional: only include instances of this class (e.g. "Part", "Script") | |
| instancePath | Yes | Path to the root instance |