SQL query
db_queryRun SQL SELECT queries on postgres or sqlite databases with a configurable row limit. Write operations require explicit confirmation and full query approval.
Instructions
SELECT-first SQL (postgres psql / sqlite stdlib). Writes need confirm+full.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "db_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsn | No | ||
| sql | No | ||
| limit | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||