resize_node
Resize any Figma node by setting new width and height, with an option to keep proportions intact.
Instructions
Resize a node with optional constraint preservation.
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": "resize_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | New width | |
| height | No | New height | |
| nodeId | Yes | Node to resize | |
| preserveAspect | No | Maintain aspect ratio |