query_build
Convert natural language descriptions into SQL queries. Specify the target SQL dialect for accurate generation.
Instructions
Build SQL queries from natural language descriptions. Example: "get all users who signed up this month and have at least 3 orders" generates the corresponding SQL.
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": {
"description": "<description>"
},
"name": "query_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dialect | No | SQL dialect (default: postgresql) | |
| description | Yes | Natural language description of the desired query | |
| schema_hint | No | Optional schema context (table/column names) to improve accuracy |