create_migration_scripts
Generate SQL Server migration scripts for schema changes, including up and down migrations for tables, columns, indexes, and constraints.
Instructions
Generate migration scripts for schema changes with up/down migrations
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": {
"changes": "<changes>"
},
"name": "create_migration_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (default: dbo) | |
| changes | Yes | Array of table changes to generate migration scripts for |