rename_design_branch
Rename a design branch by assigning a unique new name; use it to update branch labels while avoiding duplicate non-retired names and retired branches.
Instructions
Rename a branch. New name must be unique per design (excluding retired branches).
Free door, tiered answer — Free: Branch · merge · cherry-pick · undo, on the designs you keep · Pro: Branch · merge · cherry-pick · undo, on every design · Business: ✓ · Enterprise: ✓.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"branch_id": "<branch_id>",
"new_name": "<new_name>"
},
"name": "rename_design_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | The branch's new name. Must not be empty and must not match another non-retired branch of the same design (``BRANCH_EXISTS``). | |
| branch_id | Yes | Id of the design branch to rename. A retired branch cannot be renamed (``BRANCH_RETIRED``). |