Show report
show_reportDisplay an analysis/dashboard as a card with "Save as view", or text rows when cards are unavailable. Uses run_report arguments/results: report_id for saved data, or definition for an inline ReportSpec/composition. For your own reading, use run_report. Showing saves nothing: the user saves from the card, or you call create_record with object_type:"report", data:{name,definition:returned spec} when asked. Never tell the user a View is saved until a save succeeds. For revisions pass source_view_id to update the existing View rather than create a twin. Say when zero rows match. Money is minor units, not automatically converted totals. Authoring: capable://guide/reports.
When to use: The user asks to see, chart or keep an analysis.
Example: Show ARR by industry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_id | No | A saved analysis or dashboard's id (uuid), run with its stored definition; give this or definition — report_id wins when both are passed. | |
| definition | No | The inline ReportSpec or composition (dashboard) to show — the same shape as run_report's definition; omit when passing report_id. | |
| source_view_id | No | Id (uuid) of the saved View this inline definition refines, so a save updates it in place instead of creating a twin; ignored with report_id. | |
| suggested_name | No | A name to seed the card's "Save as view" button, echoed as suggested_name; only meaningful with an inline definition (this call saves nothing). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viz | No | ||
| kind | No | ||
| mode | No | ||
| note | No | ||
| rows | No | ||
| spec | No | ||
| empty | No | ||
| title | No | ||
| object | No | ||
| columns | No | ||
| widgets | No | ||
| row_count | No | ||
| truncated | No | ||
| source_view_id | No | ||
| suggested_name | No |