get_selected_elements
Retrieve the elements currently selected in Revit. Optionally set a limit to control the number of elements returned.
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 |