get_branch_migration
Generate an SQL migration by comparing a branch's base and current commits. Supply project UUID, schema UUID, and branch name to get the schema diff.
Instructions
Получить SQL-миграцию между базовым и текущим коммитом ветки.
Args:
project_uuid: UUID проекта.
schema_uuid: UUID схемы.
branch_name: Ветка (по умолчанию main).
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": {
"project_uuid": "<project_uuid>",
"schema_uuid": "<schema_uuid>"
},
"name": "get_branch_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_name | No | main | |
| schema_uuid | Yes | ||
| project_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |