AzureDevops_CreatePullRequest
AzureDevops_CreatePullRequestCreate a pull request in Azure DevOps. Specify the project, repository, source and target branches, title, description, and draft status to propose code changes for review.
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": {
"project": "<project>",
"repository_id": "<repository_id>",
"source_ref_name": "<source_ref_name>",
"target_ref_name": "<target_ref_name>",
"title": "<title>"
},
"name": "AzureDevops_CreatePullRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Pull request title | |
| project | Yes | Project name or ID | |
| is_draft | No | Create as draft PR | |
| description | No | Pull request description | |
| repository_id | Yes | Repository name or ID | |
| source_ref_name | Yes | Source branch (e.g., 'refs/heads/feature') | |
| target_ref_name | Yes | Target branch (e.g., 'refs/heads/main') |