工具 API

restore_snapshot

Restore a snapshot onto a new or existing branch. The call waits until the branch is ready. Pass `target_branch_id` to restore onto an existing branch; omit it to create one. Pass `finalize: false` then call `finalize_branch_restore` to swap names later.

devOAuth1 积分

调用信息

工具标识
mcp-server-neon.restore_snapshot
服务提供方
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.

snapshot_id必填

string

name

string

target_branch_id

string

finalize

Finalize immediately (move computes onto the restored branch). Defaults to true when restoring as a new branch and false when restoring onto an existing branch.