update_branch
Modify an existing branch in a Storyblok space via the Management API. Update branch name, source branch, preview URL, or position to streamline pipeline management.
Instructions
Updates an existing branch (pipeline) in a Storyblok space via the Management API.
- branch_id: Numeric ID of the branch to update.
Optional fields:
- name: New branch name
- source_id: Set/clear source branch (clone origin)
- url: Preview URL
- position: Position ordering number
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>"
},
"name": "update_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_id | Yes | ||
| name | No | ||
| position | No | ||
| source_id | No | ||
| url | No |