execute
Run INSERT, UPDATE, or DELETE SQL queries against a PostgreSQL database, with optional parameters, to modify stored data.
Instructions
Execute an INSERT, UPDATE, or DELETE 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": "execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | SQL query (INSERT, UPDATE, DELETE) (use $1, $2, etc. for parameters) | |
| params | No | Query parameters (optional) |