create_or_replace_view
Define or update an Oracle view in the MCP user's schema from a SELECT statement; requires CREATE VIEW privilege, otherwise Oracle returns ORA-01031.
Instructions
Create or replace a view in the MCP user's own schema. Requires CREATE VIEW privilege; Oracle returns ORA-01031 otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | View name. | |
| schema | No | Schema (owner) for the new view (must be one the MCP user can create in, typically their own). Optional — defaults to the server's current schema; omit rather than guess. | |
| selectBody | Yes | SELECT statement body for the view (e.g. "SELECT id, name FROM owner.table WHERE active = 1"). |