delete_branch
Delete a branch and archive its revisions and open draft. The default or live branch cannot be deleted; make another branch live first.
Instructions
Delete (archive) a branch, along with its revisions and open draft. The default branch cannot be deleted, and the live branch cannot be deleted — make another branch live first. Use list_branches to find branch IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent ID | |
| branch_id | Yes | The branch to delete (from list_branches) |