Manage Component Property
component_manage_propertyAdd or edit a component property definition (BOOLEAN/TEXT/INSTANCE_SWAP) on a main component or variant set. Define default values and preferred instance swap values.
Instructions
Add or edit a component-property definition (BOOLEAN/TEXT/INSTANCE_SWAP) on a main component or variant set. Deleting is component_delete_property.
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": {
"nodeId": "<nodeId>",
"nodeName": "<nodeName>",
"action": "<action>",
"propertyName": "<propertyName>"
},
"name": "component_manage_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| nodeId | Yes | ID of the COMPONENT or COMPONENT_SET | |
| nodeName | Yes | The node's current exact name, passed back verbatim from `node_info`. | |
| defaultValue | No | Required for ADD: Default value for the property. For INSTANCE_SWAP, this must be a component node ID. | |
| propertyName | Yes | For ADD, the required new property name, which must be non-empty. For EDIT, the existing property's exact lookup name. | |
| propertyType | No | Required for ADD: The type of property | |
| newDefaultValue | No | For the EDIT action, to change the default value. For INSTANCE_SWAP, this must be a component node ID. | |
| newPropertyName | No | For EDIT, the optional replacement property name. It must be non-empty when supplied; omit it to leave the existing property name unchanged. | |
| 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 | |
| error | No | ||
| action | No | The action that was performed (ADD/EDIT) | |
| results | No | Detailed execution results | |
| success | No | Whether property management was successful | |
| propertyName | No | The affected property name |