set_selection
Select elements in the Revit model by supplying their IDs. Pass an empty list to clear the current selection.
Instructions
Select elements in the Revit window. An empty list clears the selection.
Args: element_ids: Integer IDs of the elements to select.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"element_ids": "<element_ids>"
},
"name": "set_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_ids | Yes |