set_opacity
Set the opacity of a Figma design node to a specified numeric value between 0 and 1.
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 |