resize_node
Adjust the width and height of any Figma design element by specifying the node ID and desired dimensions, enabling precise resizing through MCP server commands.
Instructions
Resize a node in Figma
Input Schema
Name | Required | Description | Default |
---|---|---|---|
height | Yes | New height | |
nodeId | Yes | The ID of the node to resize | |
width | Yes | New width |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"height": {
"description": "New height",
"exclusiveMinimum": 0,
"type": "number"
},
"nodeId": {
"description": "The ID of the node to resize",
"type": "string"
},
"width": {
"description": "New width",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"nodeId",
"width",
"height"
],
"type": "object"
}