schema_validate_migration
Validate database migration files for common safety risks prior to execution. Prevents unexpected issues in production environments.
Instructions
Check a migration file for common safety issues before running it (Pro feature)
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": {
"migration_path": "<migration_path>"
},
"name": "schema_validate_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| db_type | No | postgres | |
| migration_path | Yes | Path to migration file | |
| table_row_estimates | No | Estimated row counts for tables (e.g., {users: 1000000}) |