工具 API
complete_ database_ migration
Apply or discard a prepared migration and delete the temporary branch. NEVER run autonomously; always ask the user first. Pass migration_id, migration_sql, database_name, project_id, temporary_branch_id, and parent_branch_id from prepare_database_migration. Set apply_changes false to discard; omitting it applies the migration.
调用信息
- 工具标识
- mcp-server-neon.complete_database_migration
- 服务提供方
- Neon
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
migration_id必填The migration ID from prepare_database_migration.
migration_sql必填The SQL statements to apply. Pass the exact value from prepare_database_migration.
database_name必填The database name. Pass the exact value from prepare_database_migration.
project_idThe project ID. Pass the exact value from prepare_database_migration. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
temporary_branch_id必填The temporary branch ID to delete after migration.
parent_branch_id必填The parent branch ID where migration will be applied.
apply_changesWhether to apply the migration. Set to false to just delete the temp branch without applying.