resize_node
Resize Figma node dimensions by specifying a unique node ID, width, and height. Returns the resized node's ID and updated size in a structured response. Facilitates precise design adjustments via MCP server Conduit.
Instructions
Resize a node in Figma.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the resized node's ID and new size.
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 |
|---|---|---|---|
| height | Yes | The new height for the node, in pixels. Must be a positive number between 1 and 10,000. | |
| nodeId | Yes | The unique Figma node ID to resize. Must be a string in the format '123:456' or a complex instance ID like 'I422:10713;1082:2236'. | |
| width | Yes | The new width for the node, in pixels. Must be a positive number between 1 and 10,000. |