repo_create_branch
Create a new branch in an Azure DevOps repository from a specified commit or source branch. Use it to isolate changes for features, fixes, or releases.
Instructions
Create a new branch in the repository.
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": {
"repositoryId": "<repositoryId>",
"branchName": "<branchName>"
},
"name": "repo_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchName | Yes | The new branch name. | |
| repositoryId | Yes | The repository ID. | |
| sourceCommitId | No | The commit ID to branch from. | |
| sourceBranchName | No | The source branch name. |