execute_dml_ddl_dcl_tcl
Execute SQL write statements (DML, DDL, DCL, TCL) on PostgreSQL only when write mode is enabled, leaving the transaction pending for explicit commit or rollback.
Instructions
Ejecuta escritura SQL solo si POSTGRES_ENABLE_WRITE=true. Deja la transacción pendiente hasta commit o rollback.
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_dml_ddl_dcl_tcl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Sentencia INSERT/UPDATE/DELETE/MERGE/COPY |