工具 API

compare_database_schema

Compare one database's SQL schema on a branch to another. `database_name` is required. Omit `base_branch_id` to compare against the parent; it is a branch id (`br-...`), not a name. Pass `lsn`, `timestamp`, `base_lsn`, or `base_timestamp` only for a point-in-time comparison. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.

devOAuth1 积分

调用信息

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

输入参数

project_id

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

branch_id必填

string

database_name必填

string

base_branch_id

string

lsn

string

timestamp

string

base_lsn

string

base_timestamp

string