set_rotation
Rotate any Figma node to a specific angle by providing the target node ID and rotation in degrees.
Instructions
Rotate a node.
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>",
"angle": "<angle>"
},
"name": "set_rotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | Rotation in degrees | |
| nodeId | Yes | Target node |