get_selected_elements
Identify the current Revit selection to understand which elements the user refers to. Returns element IDs, names, categories, types, levels, and category counts for the whole selection.
Instructions
Read what the user currently has selected in the Revit UI.
Use this whenever the user says "these", "the selected ones", or "what I have highlighted" - it is the only way to find out. Returns element_id, name, category, type and level for each, plus category_counts covering the whole selection.
The element_ids returned here are what modify_elements and delete_elements take as input, so this is normally the first call in a select-then-act workflow.
Returns an empty list with total_selected 0 when nothing is selected; that is a successful answer, not an error.
Does NOT change the selection. There is no tool to set the selection - the user must do that in Revit.
Args: limit: Maximum elements described in full (default 500). category_counts stays accurate for the whole selection even when the detailed list is truncated. include_parameters: Also return every readable instance parameter per element. Verbose - leave off unless parameter values are actually needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| include_parameters | No |