lock_node
Lock or unlock a specific Figma node by providing its node ID and target state. Control editing permissions to prevent accidental modifications.
Instructions
Lock/unlock 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>",
"locked": "<locked>"
},
"name": "lock_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | Yes | Lock state | |
| nodeId | Yes | Target node |