show_sql
Generates and displays the SQL query for requested metrics, dimensions, and filters without running it, so you can inspect or validate the query before execution.
Instructions
Show the SQL the engine generates for a request, without running it.
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": {
"metrics": "<metrics>"
},
"name": "show_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | ||
| metrics | Yes | ||
| dimensions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||