obs-set-scene-item-locked
Lock or unlock a scene item in OBS Studio by specifying its scene item ID and desired lock state.
Instructions
Sets the lock state of a scene item
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>",
"locked": "<locked>"
},
"name": "obs-set-scene-item-locked"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | Yes | New lock state of the scene item (true to lock, false to unlock) | |
| sceneName | No | Name of the scene the item is in | |
| sceneUuid | No | UUID of the scene the item is in | |
| sceneItemId | Yes | Numeric ID of the scene item |