check_migration_risk
Parse a migration SQL file to flag risky patterns without executing it, enabling safe pre-deployment review.
Instructions
Statically parses a single migration .sql file and flags risky patterns. Never executes it.
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_path": "<sql_path>"
},
"name": "check_migration_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |