schema_query
Execute database schema changes like CREATE, ALTER, DROP, or RENAME with a confirmation preview to prevent accidental modifications.
Instructions
Execute CREATE, ALTER, DROP, or RENAME (DDL). Separate from write_query. Requires confirmed=true after a strong confirmation preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Single CREATE/ALTER/DROP/RENAME statement | |
| confirmed | No | Must be true to execute. If omitted/false, returns an impact preview only — nothing runs. |