execute_sql
Execute SQL queries on PostgreSQL for data retrieval, manipulation, and management with built-in safety checks.
Instructions
Execute any SQL query
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": "execute_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | SQL to run | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |