cdp_query_sql
Execute read-only SQL queries against the CDP data warehouse using Impala SQL. Run SELECT statements to retrieve data from the warehouse for analysis and reporting.
Instructions
Execute a read-only SQL query against the CDP data warehouse (Impala SQL) using GET with query in URL. Suitable for short queries. For long queries, use cdp_query_sql_post instead. Only SELECT statements are supported.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "cdp_query_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| tenant_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |