add_query
Insert a SQL query into an existing Mode Analytics report by providing the report token, raw SQL, and data source ID.
Instructions
Add a SQL query to an existing report.
This is a write operation — it adds a new query to the report.
Args: report_token: The report to add the query to. raw_query: SQL query text. data_source_id: Data source ID (use list_data_sources to find it). name: Optional query name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| raw_query | Yes | ||
| report_token | Yes | ||
| data_source_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||