modify_node
Update an existing Figma node's properties: position, size, fill, rotation, opacity, visibility, and more, using its node ID.
Instructions
Modify properties of any existing node.
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>"
},
"name": "modify_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X | |
| y | No | Y | |
| fill | No | Fill color | |
| name | No | Name | |
| width | No | Width | |
| height | No | Height | |
| locked | No | Lock | |
| nodeId | Yes | Target node ID | |
| opacity | No | Opacity 0-1 | |
| visible | No | Visibility | |
| rotation | No | Rotation degrees | |
| cornerRadius | No | Corner radius |