Documentation

cockpit html

Generated reference for cockpit html, including its syntax, options, results, and constraints from the canonical cockpit CLI source.

Applies to
CLI
WindowsmacOSLinux
GuestAGI Labo member

Verified 2026-08-27 · v4.61.0

Markdown

This reference is generated from the same canonical source distributed as cockpit CLI help. See Cockpit CLI for concepts and safe operating guidance.

HTML surfaces render agent-generated HTML as an interactive screen attached to the current task. Prefer a surface over long Markdown when presenting comparisons, dashboards, or summaries with structure.

cat report.html | cockpit html show --stdin   # Render an HTML surface for the current task
cockpit html get                              # Get the current HTML surface
cockpit html list                             # List HTML surfaces for the current task
cockpit side-panel html --surface-id latest   # Open a surface in the right side panel

Do not use HTML surfaces for browser navigation — use cockpit browser for real web pages.