set_parameters
Batch update multiple Revit element parameters in a single transaction, reducing round trips and consolidating undo history.
Instructions
Set many parameter values in ONE Revit transaction: one round trip and a single entry in Revit's undo history. Always prefer this over calling set_parameter in a loop.
Args: assignments: List of {"element_id": int, "parameter_name": str, "value": str}. Items are applied in order; failed items are reported per item, the rest are still written.
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": {
"assignments": "<assignments>"
},
"name": "set_parameters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assignments | Yes |