create_pull_request
Create a new pull request in Azure DevOps by specifying repository, source and target branches, and title. Optionally add reviewers and description.
Instructions
Create a new pull request
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>",
"sourceRefName": "<sourceRefName>",
"targetRefName": "<targetRefName>",
"title": "<title>"
},
"name": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Pull request title | |
| reviewers | No | List of reviewer IDs (optional) | |
| description | No | Pull request description | |
| repositoryId | Yes | Repository ID | |
| sourceRefName | Yes | Source branch name (e.g. refs/heads/feature) | |
| targetRefName | Yes | Target branch name (e.g. refs/heads/main) |