suggest_sql
Send database schema details and a natural-language question to the configured LLM to get SQL suggestions without executing any generated SQL.
Instructions
Send selected schema metadata and question to configured LLM; never execute its 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": {
"database": "<database>",
"question": "<question>",
"tables": "<tables>"
},
"name": "suggest_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| tables | Yes | ||
| database | Yes | ||
| question | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||