edit_component_property
Rename a Figma component property or change its default value by node and property ID; returns the updated property ID for follow-up edits.
Instructions
Rename a component property and/or change its default value. Returns the (possibly new) propertyId.
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>",
"propertyId": "<propertyId>"
},
"name": "edit_component_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| nodeId | Yes | ||
| propertyId | Yes | ||
| defaultValue | No |