set_layer_locked
Lock or unlock a drawing layer to prevent unintended edits or re-enable changes.
Instructions
Set whether a layer is locked against editing.
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": {
"name": "<name>",
"locked": "<locked>"
},
"name": "set_layer_locked"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| locked | Yes |