figma_update_node
Updates a Figma node's name, position, size, visibility, opacity, rotation, and Auto Layout child sizing or absolute positioning using precise values.
Instructions
更新节点名称、位置、尺寸、可见性、透明度、旋转,以及 Auto Layout 子项的 FILL/HUG/绝对定位。
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": "figma_update_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| width | No | ||
| height | No | ||
| nodeId | Yes | ||
| opacity | No | ||
| visible | No | ||
| rotation | No | ||
| verticalSizing | No | ||
| horizontalSizing | No | ||
| layoutPositioning | No |