Set Parameter
revit_set_parameterSet exactly one instance or type parameter on a Revit element by ID, UI name, GUID, or BuiltInParameter, with optional dry-run and verification.
Instructions
Set exactly one instance or type parameter. Supply parameter_id to select by BuiltInParameter name, shared GUID or positive ParameterElement ID.
Without parameter_id, parameter accepts a localized Revit UI name, BuiltInParameter name or supported English alias; ambiguous matches are refused with candidate details.
Use a JSON string for String, integer for Integer and number for Double. Lengths use mm, areas m2 and other doubles internal units.
dry_run executes and rolls back, returning the same verification block without changing the model.
Pass document to address a specific open model when several are open; an unknown or ambiguous reference is rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| dry_run | No | ||
| document | No | Case-insensitive substring of the target open document's title or file name. Required to disambiguate when the Revit process has more than one document open; omit only when a single document is open (the active document is used). An unknown or ambiguous reference is rejected before any change. | |
| parameter | Yes | ||
| element_id | Yes | ||
| parameter_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||