batch_lock
Lock or unlock multiple nodes in one operation. Provide the target node IDs and set the lock state to prevent unintended edits across your Figma design.
Instructions
Lock/unlock multiple nodes.
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": {
"nodeIds": "<nodeIds>",
"locked": "<locked>"
},
"name": "batch_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | Yes | Lock state | |
| nodeIds | Yes | Target nodes |