工具 API

prepare_database_migration

Apply a schema change on a temporary branch and return a migration_id. Test with run_sql on that branch, ask the user, then complete_database_migration — even if they reject, so the temporary branch is deleted. Pass every field from the prepare response.

devOAuth1 积分

调用信息

工具标识
mcp-server-neon.prepare_database_migration
服务提供方
Neon
平均响应
0 ms
近 7 天调用
0

输入参数

migration_sql必填

The SQL to execute to create the migration

project_id

The ID of the project to execute the query against. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.

database_name

The name of the database. If not provided, the default neondb or first available database is used.