Bytebase: close a plan or its review issue
bytebase_close_planCancel a pending database change plan before execution. If unreviewed, deletes the draft; if under review, closes the issue. Stops when rollout is active, requiring UI for task-level cancellation.
Instructions
Cancel a change before it runs. If the plan was never submitted for review, this deletes the draft plan. If it was submitted (an open review Issue exists), this cancels that issue instead — mirroring the "Close" action in the Bytebase UI. Refuses if the plan already has an active rollout: at that point tasks may be running or done, and canceling them needs the Bytebase UI's task-level actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan resource name, e.g. "projects/my-project/plans/123". |