create_branch
Create a separate branch from the live agent to develop changes in isolation, then publish the draft and make it live when ready.
Instructions
Create a new branch to work on a set of changes in isolation, without touching the live agent. The branch starts from a source branch's head (the live branch by default). Edit its draft with the usual tools (pass the new branch_id), publish_draft to commit, then make_branch_live to serve it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Branch name (1-100 chars). Cannot be 'main'. | |
| agent_id | Yes | The agent ID | |
| source_branch_id | No | Branch to fork from (from list_branches). Omit to fork from the live branch. |