query
Execute SELECT statements against PostgreSQL, with optional $1, $2 parameters, to retrieve data for inspection.
Instructions
Execute a SELECT query
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": {
"sql": "<sql>"
},
"name": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL SELECT query (use $1, $2, etc. for parameters) | |
| params | No | Query parameters (optional) |