list_components
Retrieve groups and component instances from a SketchUp model with pagination, recursive nesting, and optional millimeter bounds. Request pages by offset to inspect large assemblies.
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 |