tldraw_lock_shapes
Lock shapes to prevent selection or movement in the UI, or unlock them to restore interaction.
Instructions
Lock or unlock shapes. Locked shapes cannot be selected or moved in the UI.
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": {
"shapeIds": "<shapeIds>",
"isLocked": "<isLocked>"
},
"name": "tldraw_lock_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isLocked | Yes | true to lock, false to unlock | |
| shapeIds | Yes | Shape IDs |