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.
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. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"height": {
"description": "The new height for the node, in pixels. Must be a positive number between 1 and 10,000.",
"maximum": 10000,
"minimum": 1,
"type": "number"
},
"nodeId": {
"description": "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'.",
"type": "string"
},
"width": {
"description": "The new width for the node, in pixels. Must be a positive number between 1 and 10,000.",
"maximum": 10000,
"minimum": 1,
"type": "number"
}
},
"required": [
"nodeId",
"width",
"height"
],
"type": "object"
}