get_selected_elements
Retrieve elements currently selected in Revit and cap the number of returned items to inspect or process the active selection.
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 |