apply_migration_plan
Apply a reviewed migration plan atomically with forward SQL and rollback steps, using a stable name and review hash for consistent ledger updates.
Instructions
Apply a reviewed fully transactional migration and its ledger row atomically
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": {
"name": "<name>",
"steps": "<steps>",
"review_hash": "<review_hash>"
},
"name": "apply_migration_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Stable migration name | |
| steps | Yes | The exact reviewed ordered statement pairs | |
| review_hash | Yes | Exact 64-character review hash from create_migration_plan | |
| timeout_seconds | No | ||
| lock_timeout_seconds | No |