Read Display HTML
read_display_htmlReads the raw HTML source currently shown on a display so you can inspect or edit it and push it back with send_html. content_type 'idle' reads the default/fallback content instead. Responses are windowed for large documents: max_bytes (default 51200) and offset page through the source; the result reports totalBytes and truncated. Not for visual previews (use get_display_preview_url). Requires content scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Byte offset to start reading from. Default 0. | |
| max_bytes | No | Maximum bytes of HTML to return. Default 51200. | |
| display_id | Yes | 8-character display profile ID, e.g. 'ABCD1234'. | |
| access_token | No | Optional bearer token; prefer session_request_id. | |
| content_type | No | 'live' (default) reads active content; 'idle' reads default content. | |
| session_request_id | No | Session handle from create_auth_session; pass it on every authenticated call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| html | No | ||
| name | No | ||
| offset | No | ||
| source | No | ||
| truncated | No | ||
| hasContent | No | ||
| htmlLength | No | ||
| totalBytes | No | ||
| contentType | No |