Move or resize
figma_set_boundsSets the position and size of a Figma node. Position is ignored inside auto-layout frames; use layout sizing and parent spacing instead.
Instructions
Sets position and size. Position is ignored inside an auto-layout frame, where the parent decides it — use figma_set_layout_sizing and the parent’s spacing there instead.
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_set_bounds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| width | No | ||
| height | No | ||
| nodeId | Yes | Figma node id, like "21:10314". Omit to use whatever is selected on the canvas. |