List Sources in a Scene
obs_list_scene_itemsLists the sources in an OBS scene, top layer first, with IDs, names, kinds, visibility, lock state, position, and size so you can target items for enable or transform updates.
Instructions
List the sources placed in a scene, top layer first, with each item's id, source name, kind, visibility, lock state, position and size. Use the ids with obs_set_scene_item_enabled and obs_set_scene_item_transform.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "obs_list_scene_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return | |
| offset | No | Number of items to skip, for pagination | |
| scene_name | No | Scene to list. Defaults to the current program scene |