list_components
List groups and component instances in the SketchUp model with pagination. Recursively fetch nested components up to a depth limit, and choose detailed (with bounding box) or concise format.
Instructions
List groups and component instances in the model (paginated).
Each component is {id, name, type, layer, depth, bbox_mm} (detailed) or {id, name, type, layer, depth} (concise); bounds are world-coordinate mm. Set recursive=true to descend into nested components (bounded by max_depth, default 3).
Returns: JSON {components[], total, offset, truncated} — if truncated, request the next page with offset += limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size — maximum components per response | |
| offset | No | How many components to skip (pagination) | |
| max_depth | No | Maximum nesting depth to descend when recursive | |
| recursive | No | Descend into nested groups/components | |
| response_format | No | detailed includes bbox_mm per component; concise omits it | detailed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |