plan_migration_rollback
Generate a safe rollback plan for a set of migrations with dependency order
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": {
"migrations": "<migrations>",
"database": "<database>"
},
"name": "plan_migration_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Target database | |
| migrations | Yes | Migration names to roll back (in execution order) | |
| checkForeignKeys | No | Validate foreign key constraints before rollback |