apply_image_transform
Adjust image position, scale, and rotation inside Figma nodes using AI. Modify scale mode (fill, fit, crop, tile), rotation in 90° increments, and translation offsets without moving the node.
Instructions
Adjust image position, scale, and rotation within node. Rotates the IMAGE inside the node, not the node itself.
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>"
},
"name": "apply_image_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to transform image on | |
| scaleMode | No | Change scale mode | |
| rotation | No | Rotation in 90-degree increments (0, 90, 180, 270). Rotates the IMAGE inside the node, not the node itself. | |
| translateX | No | Horizontal translation offset | |
| translateY | No | Vertical translation offset | |
| scale | No | Scale factor (1 = 100%) |