Create View
create_viewRender charts, tables, metrics, dashboards, and proof cards from a compact JSON view definition, with progressive preview as arguments stream. Use it when you already have data ready.
Instructions
Render a model-authored chart, table, metric, proof card, or dashboard as an MCP App and progressively preview safe component JSON while tool arguments stream. Use when you already have the data. For document-backed SQL/codemode work, use render_ui instead. Input view is a compact JSON string; top-level arrays are dashboard items. Do not pass HTML, scripts, iframes, or CDN-dependent payloads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | Compact JSON string describing a model-authored Okra render view. Use this only when you already have the data and want the MCP App to render progressively while arguments stream. Supported safe component types: dashboard, table, metric, bar, line, area, scatter, vega-lite, proof-card, text, and json. Top-level arrays are treated as dashboard items. Do not use html/script/iframe payloads here; arbitrary HTML belongs in render_ui after server-side codemode completes. | |
| title | No | Optional title for the rendered view. | |
| height | No | Preferred inline widget height in pixels. |