execute_plsql
Execute PL/SQL blocks or DDL statements (CREATE FUNCTION, CREATE PROCEDURE) on Oracle databases using readwrite connections, with optional commit after execution.
Instructions
Execute a PL/SQL block or DDL statement (CREATE FUNCTION, CREATE PROCEDURE, etc.). Only works on connections with readwrite mode.
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": {
"connection": "<connection>",
"plsql": "<plsql>"
},
"name": "execute_plsql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plsql | Yes | PL/SQL block or DDL statement to execute | |
| commit | No | Whether to commit after execution (default: true) | |
| connection | Yes | Name of the database connection to use |