List elements
list_elementsFetches element GUIDs from an Archicad project, with optional type or selection filters, and returns counts per type.
Instructions
Lists element GUIDs of the whole project (all stories) through the official JSON API, optionally only some types or only the current selection, with each element's type and the number of elements per type (countsByType). Returns {total, offset, returned, hasMore, countsByType, elements: [{guid, type}]}. For attribute/geometry filters (story, layer, region, ID...) use find_elements; for details of the returned elements use get_element_details, for extents get_bounding_boxes. Works without the Claude Connector add-on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Return at most this many results (default 500) | |
| types | No | Only these element types. Omit for every element (including types not in this list, reported as 'Unknown') | |
| offset | No | Skip this many results | |
| includeTypes | No | Return {guid, type} items and countsByType (default true). false returns plain GUID strings — fastest for huge projects | |
| onlyEditable | No | With selectedOnly: skip selected elements that are locked / on locked layers / not reserved | |
| selectedOnly | No | Only the elements currently selected in Archicad (default false) |