ado_create_branch
Create a new branch from an existing source branch in an Azure DevOps repository.
Instructions
Create a new branch from the tip of an existing source branch.
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": {
"repoId": "<repoId>",
"newBranch": "<newBranch>",
"sourceBranch": "<sourceBranch>"
},
"name": "ado_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoId | Yes | Repository name or ID | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) | |
| newBranch | Yes | New branch name (without refs/heads/) | |
| sourceBranch | Yes | Existing branch to branch from, e.g. "main" |