ado_create_pull_request
Create a pull request from a source branch into a target branch in Azure DevOps, specifying title, description, and optional reviewers or draft mode.
Instructions
Create a pull request from a source branch into a target 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>",
"sourceBranch": "<sourceBranch>",
"targetBranch": "<targetBranch>",
"title": "<title>"
},
"name": "ado_create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | PR title | |
| repoId | Yes | Repository name or ID | |
| isDraft | No | Create as a draft PR | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) | |
| description | No | PR description (markdown) | |
| reviewerIds | No | Identity IDs to add as reviewers | |
| sourceBranch | Yes | Source branch, e.g. "feature/x" (refs/heads/ optional) | |
| targetBranch | Yes | Target branch, e.g. "main" |