create-pull-request
Creates a pull request from a source branch to a target branch with a title and description in an Azure DevOps repository.
Instructions
Create a pull request from one branch to another
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>",
"title": "<title>",
"description": "<description>",
"sourceBranch": "<sourceBranch>",
"targetBranch": "<targetBranch>"
},
"name": "create-pull-request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title of the pull request | |
| description | Yes | Description of the pull request | |
| repositoryId | Yes | ID of the repository | |
| sourceBranch | Yes | Source branch name | |
| targetBranch | Yes | Target branch name |