resize_node
Resize a Figma node to exact width and height values. Set dimensions for vector elements, shapes, text, or components before layout and export.
Instructions
Resize a Figma node to the given width and height.
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": "resize_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| nodeId | Yes | Figma node ID |