execute_query_and_wait
Execute SQL queries on Redash data sources and retrieve results by specifying query text, data source ID, and optional cache settings.
Instructions
Execute a SQL query and wait for the result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to execute | |
| data_source_id | Yes | The ID of the data source to query | |
| max_age | No | Maximum age of cached results in seconds |
Input Schema (JSON Schema)
{
"properties": {
"data_source_id": {
"description": "The ID of the data source to query",
"minimum": 1,
"type": "number"
},
"max_age": {
"description": "Maximum age of cached results in seconds",
"minimum": 0,
"type": "number"
},
"query": {
"description": "The SQL query to execute",
"minLength": 1,
"type": "string"
}
},
"required": [
"query",
"data_source_id"
],
"type": "object"
}