set_rotation
Rotate a Figma node to a specified angle. Provide the node ID and rotation in degrees to change its orientation.
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 |
|---|---|---|---|
| nodeId | Yes | Target node | |
| angle | Yes | Rotation in degrees |