ask
Answers plain-English questions by generating safe SQL from your live PostgreSQL schema and optionally running validated, read-only queries with row limits.
Instructions
Answer a plain-English question: writes safe SQL from the live schema and (optionally) runs it.
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>"
},
"name": "ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| database | No | ||
| question | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||