execute_sql
Run any SQL query on PostgreSQL to retrieve, insert, update, or delete data. Grants full database access, so use with caution.
Instructions
Execute any SQL query. WARNING: Full database access.
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": "execute_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |