Manage Component Property
component_manage_propertyAdd or edit component property definitions (boolean, text, instance swap) on a main component or variant set.
Instructions
Add or edit a component-property definition (BOOLEAN/TEXT/INSTANCE_SWAP) on a main component or variant set. Deleting is component_delete_property.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ID of the COMPONENT or COMPONENT_SET | |
| nodeName | Yes | Name of the node for verification | |
| action | Yes | Action to perform | |
| propertyName | Yes | The human-readable name of the property to affect | |
| newPropertyName | No | For the EDIT action, to rename the property | |
| propertyType | No | Required for ADD: The type of property | |
| defaultValue | No | Required for ADD: Default value for the property. For INSTANCE_SWAP, this must be a component node ID. | |
| newDefaultValue | No | For the EDIT action, to change the default value. For INSTANCE_SWAP, this must be a component node ID. | |
| preferredValues | No | Array of preferred values for INSTANCE_SWAP properties during ADD or EDIT. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the component/component set | |
| name | No | Name of the component/component set | |
| action | No | The action that was performed (ADD/EDIT) | |
| propertyName | No | The affected property name | |
| success | No | Whether property management was successful | |
| results | No | Detailed execution results |