figma_resize_node
Resize a Figma node to exact width and height, respecting child constraints by default or ignoring them when constraints are disabled.
Instructions
Resize a node to specific dimensions. By default respects child constraints; use withConstraints=false to ignore them.
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>",
"width": "<width>",
"height": "<height>"
},
"name": "figma_resize_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | New width in pixels | |
| height | Yes | New height in pixels | |
| nodeId | Yes | The node ID to resize | |
| withConstraints | No | Whether to apply child constraints during resize (default: true) |