Send an event to screens
send_screen_eventSend a named event to the interactive content on screens.
When to use:
Interactive content waits for an event, for example to start a countdown or show a result.
When NOT to use:
Moving to a page or scene: use change_screen_page.
What to know:
Content that does not listen for the event ignores it. Needs screen.edit.
Parameters:
Example: {event:"start", payload:{seconds:30}, screenId:"scr_7"}.
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": {
"event": "<event>"
},
"name": "send_screen_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | The event name the content listens for. | |
| payload | No | Data sent with the event. | |
| 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 or devices it was sent to. | |
| notSent | No | The screens or devices it was not sent to, and why. | |
| commandIds | No | Ids of what was sent, one per screen. |