Send HTML
send_htmlShows HTML content on a display: menus, dashboards, welcome pages, schedules or any custom design. slot 'live' (default) replaces the current content; slot 'idle' stores the default/fallback content shown when nothing live is active (idle requires admin scope). Always pass a short description so later content reads stay meaningful. Exactly one of html or base64_html. For external web pages use send_url; to edit current content call read_display_html first. For polished results load prompt render_premium_display_html or resource agentview://public/design-system. Requires content scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Complete HTML document to render. Mutually exclusive with base64_html. | |
| slot | No | Target slot: 'live' (default) replaces current content; 'idle' sets the default shown when idle (admin scope). | |
| token | No | Display-specific demo/preview token for unauthenticated access. NOT the OAuth token. | |
| duration | No | Seconds the content stays; 0 = indefinite (default). Live slot only. | |
| display_id | Yes | 8-character display profile ID, e.g. 'ABCD1234'. | |
| base64_html | No | Base64-encoded HTML (standard base64). Use only when raw HTML cannot survive JSON transport. Mutually exclusive with html. | |
| description | Yes | Short human-readable summary of the content, e.g. 'Weekly KPI dashboard'. | |
| access_token | No | Optional bearer token; prefer session_request_id. Distinct from the display-specific 'token'. | |
| session_request_id | No | Session handle from create_auth_session; pass it on every authenticated call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| idleFile | No | ||
| idleVersion | No | ||
| idleContentCleared | No |