Display Html
display_htmlRender self-contained HTML inline or in a detached window to view reports, dashboards, or visual outputs without an AEDT connection.
Instructions
Display self-contained HTML inline or in a detached window.
No AEDT connection is required. Inline scripts and styles are supported, but network requests, external assets, forms, popups, and access to the MCP host are blocked. Embed images as data URLs. This does not execute Python.
In "auto" mode the HTML is shown inline when the client supports MCP
Apps. Otherwise it opens in a lightweight detached window (a chromeless
Edge/Chrome app window, or the default browser) on the machine running
the MCP server. The detached window adjusts to the size of the rendered
HTML unless width or height are given.
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": {
"html": "<html>"
},
"name": "display_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML document or fragment, up to one million characters. | |
| title | No | Accessible name and window title for the displayed document. | Custom HTML |
| width | No | Window content width in pixels, between 200 and 3840. By default, the detached window fits the HTML width. Inline viewers use the host width. | |
| height | No | Viewer height in pixels, between 200 and 1200. By default, the detached window fits the HTML height and the inline viewer uses 480. | |
| display_mode | No | ``"auto"`` (default), ``"inline"`` to never open a window, or ``"window"`` to always open a detached window. | auto |