set_visibility
Show or hide a Figma node by setting its visibility state. Resolve display issues by toggling node visibility directly.
Instructions
Show/hide 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>",
"visible": "<visible>"
},
"name": "set_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target node | |
| visible | Yes | Visibility |