Find Model Entities
find_entitiesLocate faces, edges, vertices, or bodies in a revision-bound STEP artifact with area, radius, and type filters, returning entity IDs needed for measurements. Use before measure.
Instructions
Find faces, edges, vertices, or solid bodies in the revision-bound artifact returned by inspect, optionally scoped to an assembly component_name. Use this before measure, because every measurement names entity IDs rather than coordinates, and follow pagination until has_more is false whenever a count or a minimum matters. Faces support surface_type, area, and radius filters (e.g. { surface_type: "cylinder", min_radius: 2 }); edges support curve_type, length, and radius; vertices return coordinates and bodies return volume. IDs are producer- and revision-scoped: they are valid only for this server and only for the artifact revision that returned them, so never reuse them after the file changes or in another tool. Occurrence IDs distinguish repeated component instances. distance takes sources/targets; every other measure kind takes entity_ids, and cad://help lists the required fields for each kind.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum entities to return in this page (default 50). | |
| offset | No | Entities to skip; follow pagination.has_more to page. | |
| artifact | Yes | Revision-bound STEP reference from inspect (uri + sha256 revision). The revision must still match the file on disk. | |
| max_area | No | Faces only: maximum face area in mm². | |
| min_area | No | Faces only: minimum face area in mm². | |
| curve_type | No | Edges only: keep edges of this curve type. | |
| entity_ids | No | Optional explicit ids to return; each must match entity_type (e.g. ["face:3"]). | |
| max_length | No | Edges only: maximum edge length in mm. | |
| max_radius | No | Faces/edges only: maximum radius in mm. | |
| min_length | No | Edges only: minimum edge length in mm. | |
| min_radius | No | Faces/edges only: minimum radius in mm. | |
| entity_type | Yes | Entity category to search. | |
| surface_type | No | Faces only: keep faces of this surface type. | |
| component_name | No | Optional component scope from inspect.structure.component_occurrences; use the base name for all repeated instances or the full name#instance ID for one occurrence. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| units | Yes | ||
| artifact | Yes | ||
| entities | Yes | ||
| unit_note | No | ||
| pagination | Yes | ||
| bounds_method | No | ||
| coordinate_frame | Yes | ||
| entity_id_scheme | Yes |