rotate_nodes
Rotate Figma nodes to a specified absolute angle, ignoring nodes without rotation, and get the count of successfully updated nodes.
Instructions
Set absolute rotation (degrees) on nodes. Nodes without rotation are skipped. Returns { ok, affected }.
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>",
"rotation": "<rotation>"
},
"name": "rotate_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeIds | Yes | Node ids to rotate | |
| rotation | Yes | Rotation in degrees |