Set Scene Item Locked
obs-set-scene-item-lockedLock or unlock a scene item in OBS Studio by providing its numeric ID and the desired lock state. Prevents accidental edits to sources.
Instructions
Set whether a scene item is locked
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": {
"sceneItemId": "<sceneItemId>",
"sceneItemLocked": "<sceneItemLocked>"
},
"name": "obs-set-scene-item-locked"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneName | No | Name of the scene | |
| sceneUuid | No | UUID of the scene | |
| canvasUuid | No | UUID of the canvas containing the scene | |
| sceneItemId | Yes | Numeric ID of the scene item | |
| sceneItemLocked | Yes | New lock state |