Bytebase: update a plan
bytebase_update_planModify a plan's title, description, or SQL statement before or after submission; when SQL changes, creates a new sheet and repoints the plan, while refusing changes once rollout has started.
Instructions
Edit a plan's title, description, and/or SQL statement — works both before and after it has been submitted for review (title edits go to the review Issue instead of the Plan once one exists, matching Bytebase's own UI). Changing the statement creates a new Sheet (sheets are immutable) and repoints the plan at it — refused once the plan has a rollout, since tasks may already reference the old sheet. Only supports single-spec plans — i.e. plans created by bytebase_create_plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan resource name, e.g. "projects/my-project/plans/123". | |
| title | No | ||
| statement | No | New SQL to replace the plan's current statement. | |
| description | No |