Assign content to screens
set_screen_contentSet what screens play by default until it is changed again.
When to use:
Putting a playlist, schedule, app, media file or creative on one screen, a list, or every screen under a location.
When NOT to use:
A takeover that ends by itself: use start_takeover.
Changing what a playlist contains: use update_items (every screen playing it follows).
What to know:
Screens update within seconds. In a bulk call, screens the content is not shared to or whose location needs approval for it are skipped and counted (notShared, needsApproval); the rest change. Needs screen.cast.
Parameters:
screenId, screenIds and nodeId (every screen at and under it, up to 1000): give at least one; they combine into one set.
contentKind: playlist, schedule, layout, app, media or creative. null clears what plays and needs exactly one screen and no nodeId.
contentId: the playlist, schedule, layout, app, media or creative id from list_items; omit only with contentKind null.
Example: {nodeId:"on_ca", contentKind:"playlist", contentId:"pl_spring"}.
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": {
"contentKind": "<contentKind>"
},
"name": "set_screen_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | A location: every screen at it and under it gets the content. A location id comes from list_items kind locations. | |
| groupId | No | Every screen in this screen group (list_items kind screen_groups). Stands alone: not with screenId, screenIds or nodeId. | |
| position | No | With groupId: only the screens in this position of the group (index into its positions, 0 = the first, left). To set every position at once and keep it for screens that join later, use update_items kind screen_groups with positionContent. | |
| screenId | No | The one screen that gets the content. A screen id comes from list_items kind screens. | |
| contentId | No | The content to play, by id, from list_items of that kind. It must be of contentKind. Leave it out only to clear a screen, with contentKind null. | |
| screenIds | No | The screens that get the content, when there are several. Screen ids come from list_items kind screens. | |
| contentKind | Yes | The kind of content that contentId names. A null value clears what one screen plays. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | No | Ids of the screens that now play the content (or were cleared). | |
| screens | No | Calls for many screens or a location: the changed screens by name. | |
| notShared | No | How many screens were skipped because the content is not shared to their location. | |
| needsApproval | No | How many screens were skipped because their location needs an approval for this content. |