validate_migration
Validate database migration scripts for correctness and potential issues without executing them, ensuring they apply safely.
Instructions
Validate migration scripts without executing them.
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": {
"up_sql": "<up_sql>",
"down_sql": "<down_sql>"
},
"name": "validate_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up_sql | Yes | ||
| down_sql | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||