Turn TVs on or off
set_tv_powerTurn the TV of screens on or off.
When to use:
Outside opening hours, or to bring a TV back that someone turned off.
When NOT to use:
A frozen player: use reboot_screens.
What to know:
Works on TVs that accept HDMI-CEC; the player keeps running. Turn it back with the opposite value. Needs screen.edit.
Parameters:
Example: {power:"off", groupId:"sg_lobby"}.
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": {
"power": "<power>"
},
"name": "set_tv_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| power | Yes | on turns the TV on; off turns it off. | |
| groupId | No | Every screen in this screen group (list_items kind screen_groups). Use it alone, not with screenId or screenIds. | |
| screenId | No | One screen that gets the action. A screen id comes from list_items kind screens. | |
| screenIds | No | The screens that get the action, when there are several. Combined with screenId into one set; each screen gets it once. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queued | No | How many screens the action was sent to. Screens out of this connection's reach are left out. | |
| staged | No | Many-screen call on a large fleet: screens that get the action in a later wave. | |
| status | No | One-screen call: the command's state, pending until the device confirms it. | |
| commandIds | No | Ids of the commands that were queued, one per screen. | |
| alreadySaved | No | Many-screen call: screens left out because they already had this action waiting. |