get_run_results
Fetches results from a Mode Analytics report run, defaulting to the latest run. Limits rows per query to avoid context overflow, with options to adjust limits or fetch all rows.
Instructions
Get results from a report run. Defaults to the latest run.
Each query's rows are truncated to max_rows_per_query by default so a
single call can't blow past the agent's context window. When a query was
truncated, the result includes truncated: true and row_count: <total>
so you know to re-call with a higher limit (or null) if you need all rows.
Args: report_token: The report token. run_token: Specific run token. If omitted, uses the latest succeeded run. max_rows_per_query: Max rows to return per query. Default 500. Pass null to fetch every row — can be very large (hundreds of MB) for dashboards with long time-series or wide cross-tabs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_token | No | ||
| report_token | Yes | ||
| max_rows_per_query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |