cdp_generate_query
Generate SQL queries automatically from dataset definitions in JSON format to simplify data analysis and reporting tasks.
Instructions
Generate a SQL query from a dataset definition. Pass the dataset definition as a JSON string.
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": {
"body": "<body>"
},
"name": "cdp_generate_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| tenant_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |