find_components
Search for components by name substring, exact layer, or type. Supports pagination and recursive search up to a specified depth.
Instructions
Find components matching name substring, layer, and/or type.
Name matching is case-insensitive substring; layer must match exactly. Searches recursively (bounded by max_depth). With no filters it returns all components up to max_depth (paginated) — same traversal as list_components.
Returns: JSON {components[], total, offset, truncated} — if truncated, request the next page with offset += limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive substring to match against component names | |
| type | No | Restrict results to groups or component instances | |
| layer | No | Exact layer (tag) name to filter by | |
| limit | No | Page size — maximum components per response | |
| offset | No | How many components to skip (pagination) | |
| max_depth | No | Maximum nesting depth to search | |
| response_format | No | detailed includes bbox_mm per component; concise omits it | detailed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |