push_layout
Push a layout to a paired device for immediate rendering, with real-time feedback on acceptance or rejection, or broadcast to all paired viewers when no single device is targeted.
Instructions
Push a layout to the paired device. The device renders it immediately.
When a single device is paired, this pushes over routed RPC and reports back exactly what the device rendered (or why it rejected the layout) — no more blind "pushed successfully". With no resolvable device it falls back to a broadcast so every paired viewer updates at once.
Args: layout_json: Complete layout JSON string. Must be valid LayoutConfig.
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": {
"layout_json": "<layout_json>"
},
"name": "push_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |