Reorder scene item
scene_item_index_setSet the z-order position of a scene item in OBS, where index 0 places it at the bottom. Use to arrange overlapping items by assigning a new index.
Instructions
Set scene item z-order. OBS index 0 is the bottom.
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>",
"index": "<index>"
},
"name": "scene_item_index_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| sceneId | No | OBS scene UUID. | |
| sceneName | No | OBS scene name. | |
| sceneItemId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |