Set Parameter
revit_set_parameterSet a Revit instance or type parameter value for an element using its BuiltInParameter, shared GUID, or UI name. Verify changes with dry_run before committing.
Instructions
Set one instance or type parameter. parameter_id selects by BuiltInParameter name, shared GUID or ParameterElement ID; otherwise parameter takes a localized UI name, BuiltInParameter name or English alias, and ambiguous matches are refused. Value is a string, integer or number by storage type; lengths in mm, areas in m2. Group members fail with a clear message. dry_run rolls back and returns the verification block.
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_id": "<element_id>",
"parameter": "<parameter>",
"value": "<value>"
},
"name": "revit_set_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| dry_run | No | ||
| document | No | Title or file name substring of the target open document; needed when several are open. | |
| parameter | Yes | ||
| element_id | Yes | ||
| parameter_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||