generate_sql
Convert natural language questions into SQL queries using AI, requiring a database ID and Metabase Pro subscription.
Instructions
[Requires Metabase Pro] Generate SQL from a natural language question using AI
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": "generate_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |