obs_set_scene_item_enabled
Toggle a scene item's visibility in OBS Studio by setting it enabled or hidden. Returns the obs-websocket request without applying changes unless dry_run is set to false.
Instructions
Show or hide a scene item (SetSceneItemEnabled). dry_run defaults to true.
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": {
"scene_item_id": "<scene_item_id>",
"enabled": "<enabled>"
},
"name": "obs_set_scene_item_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | When true (the default), return the obs-websocket request and do not send it. Set false to apply the change. | |
| enabled | Yes | ||
| scene_name | No | OBS scene_name. Provide this or scene_uuid. | |
| scene_uuid | No | OBS scene_uuid. Provide this or scene_name. | |
| scene_item_id | Yes |