set_opacity
Sets the opacity of a selected Figma node to a numeric value from 0 to 1, enabling precise transparency adjustments.
Instructions
Set node opacity.
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>",
"opacity": "<opacity>"
},
"name": "set_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target node | |
| opacity | Yes | Opacity 0-1 |