1. Read the board. 2.
| Object | Tool | Notes | | ----------------------- | --------------------------- | -------------------------------------- | | Session row | sessions_list, sessions | Find, label, group, pin, archive | | Board snapshot | dashboard read | Current session only | | Tabs and layout | dashboard | Create, rename, reorder, focus, expand | | Custom HTML/SVG | show_widget | Set pin: true; update by stable name | | Trusted plugin widget | dashboard widget_put | Requires an advertised pluginKind | | Visible browser state | Browser-control tool | Inspect, click, type, screenshot | | Client panes and panels | screen | Commands connected capable clients |
The Dashboard tool's focus and presentation commands need a connected Control UI. They can return unavailable even though board storage is healthy. focus_tab opens the side panel. Call set_presentation after focusing the tab: presentation: "expanded" expands it; "split" restores a split view using the current panel layout.
Resolve the owning session before the first dashboard or widget mutation. For a dedicated sidebar dashboard, create or reuse a visible session and move the work there first. Board widgets cannot move between sessions, and tabs never create sidebar rows.
show_widget is for self-contained HTML/SVG. The widget runs in a hard sandbox that rejects child-frame URL assignments and navigation, so an external application such as Grafana cannot be made into a dashboard widget by wrapping it in <iframe src="...">. gateway.controlUi.allowExternalEmbedUrls governs hosted transcript embeds; it does not relax the show_widget sandbox.
For external or live content, choose one supported boundary:
capabilities.netOrigins and render thereturned data in the widget;
Do not weaken embedSandbox or expose an authenticated application just to make a nested iframe render.
For a custom widget, call show_widget again with:
pin: true;name;widget_code;This updates content without discarding the widget's board position. A content change creates a new revision and may invalidate prior capability approval.
Use dashboard widget_put only for registered plugin kinds. It is not a second HTML-authoring path.
The session is the durable sidebar object. A board is not a separate session or navigation page.
sessions patch can pin and organize the session.dashboard focus_tab broadcasts a focus command. A connected Control UIopens the dashboard panel and saves the session's dashboard preference.
the dashboard. Closing the panel returns to chat alone.
/dashboards gallery, regardlessof their saved view. Selecting a card opens its owning chat with the dashboard panel expanded.
The active tab and side-panel layout are per-device UI state. The dashboard preference is server-side session state.
capabilities.netOrigins; browser requests complete without CSP, CORS, certificate, or mixed-content errors.
external iframe.
alone is not sidebar proof.
Source documentation:
docs/web/dashboards.mddocs/web/dashboard-architecture.mddocs/tools/screen.mddocs/tools/show-widget.md