Test Display Content
test_display_contentDry-run validator for generated HTML: runs agentView's size and description checks WITHOUT touching a real display. Use after composing complex HTML and before send_html or broadcast_content. No display_id needed; the response carries simulated=true. Capped at 1 MB. Requires authentication.
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": {
"description": "<description>"
},
"name": "test_display_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Complete HTML document to validate. Mutually exclusive with base64_html — provide exactly one. | |
| base64_html | No | Base64-encoded HTML payload. Mutually exclusive with html. | |
| description | Yes | Short human-readable description of what the HTML represents (1-1000 chars). Same validation rules as send_html. | |
| access_token | No | Optional bearer token; prefer session_request_id. | |
| session_request_id | No | Session handle from create_auth_session; pass it on every authenticated call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| success | No | ||
| displayId | No | ||
| simulated | No | ||
| sizeBytes | No | ||
| description | No | ||
| displayName | No |