工具 API
reset_ from_ parent
Reset a branch to its parent's current HEAD. Discards every change the branch has written since it diverged. NEVER run autonomously; always ask the user first. `preserve_under_name` saves the current state first and is required when the branch has children; those children move to the new branch. Point-in-time restore is `restore_snapshot`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
devOAuth1 积分
调用信息
- 工具标识
- mcp-server-neon.reset_from_parent
- 服务提供方
- Neon
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
project_idRequired 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
preserve_under_nameName under which to save the current branch before the reset. Required when the branch has children; those children move to the new branch.