dry_run_migration
Executes DDL migrations in an isolated SAVEPOINT, evaluates risk, and always rolls back to return guardrail warnings without persisting schema changes.
Instructions
Executes a DDL migration inside an isolated SAVEPOINT, evaluates risks, then ALWAYS rolls back. Returns risk assessment and guardrail warnings.
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": {
"migrationSql": "<migrationSql>"
},
"name": "dry_run_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| migrationSql | Yes | The DDL SQL statement to dry-run (will be fully rolled back) |