dashboards

1. Read the board. 2.

Dashboard operations

Ownership map

| 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 |

Recommended build sequence

  1. Read the board.
  2. Create tabs only when the existing structure does not fit.
  3. Put each widget on its final tab with a stable name.
  4. Move and resize after content exists.
  5. Pin the session.
  6. Focus the intended tab.
  7. Choose a split or expanded dashboard panel.
  8. Read again, then verify the rendered UI.

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.

Choose the owning session

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.

Choose the content boundary

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:

returned data in the widget;

Do not weaken embedSandbox or expose an authenticated application just to make a nested iframe render.

Updating content

For a custom widget, call show_widget again with:

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.

Dashboard panel and sidebar behavior

The session is the durable sidebar object. A board is not a separate session or navigation page.

opens the dashboard panel and saves the session's dashboard preference.

the dashboard. Closing the panel returns to chat alone.

of 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.

Verification checklist

capabilities.netOrigins; browser requests complete without CSP, CORS, certificate, or mixed-content errors.

external iframe.

alone is not sidebar proof.

Source documentation: