align_nodes
Align multiple Figma nodes in a layout by specifying alignment type, such as left, center, right, top, middle, bottom, or distribute horizontally/vertically.
Instructions
Align multiple nodes relative to each other.
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": {
"nodeIds": "<nodeIds>"
},
"name": "align_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeIds | Yes | Nodes to align | |
| alignment | No | Alignment type |