sql generate
sql_generatePlain-English question to SQL for your schema (SQLite, Postgres, MySQL, BigQuery...): the query, an explanation and assumptions, a read-only check, and for SQLite schemas the query is compiled against your tables (and retried if it fails). Costs $0.02 USDC per call (x402).
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": {
"question": "<question>",
"schema": "<schema>"
},
"name": "sql_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | ||
| dialect | No | ||
| question | Yes |