get_selected_elements
Retrieve currently selected elements in Revit to access their data for analysis or modification. Optionally limit the number of returned elements to manage performance.
Instructions
Get elements currently selected in Revit. You can limit the number of returned elements.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_selected_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of elements to return |