get_native_query
Inspect MBQL queries by converting them to native SQL without executing.
Instructions
Convert an MBQL query to native SQL without executing it. Useful for inspecting what SQL Metabase would generate or for debugging query logic.
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": {
"input": "<input>"
},
"name": "get_native_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |