run_query
Execute a read-only SQL SELECT query against a PostgreSQL database to retrieve data, with results capped at 100 rows for safe inspection.
Instructions
Execute a read-only SQL SELECT query against the database (results capped to 100 rows)
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": {
"query": "<query>"
},
"name": "run_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL SELECT query to execute |