set_opacity
Adjust a Figma node's opacity between 0 and 1 to make elements transparent or fully opaque.
Instructions
Set the opacity of a node in Figma (0-1)
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 | The ID of the node to modify | |
| opacity | Yes | Opacity value (0-1, where 0 is fully transparent and 1 is fully opaque) |