create_pull_request
Creates a pull request between two branches in an Azure DevOps repository. Specify repository ID, source and target branches, and a title to initiate code review.
Instructions
Crea un Pull Request entre dos ramas
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>",
"sourceBranch": "<sourceBranch>",
"targetBranch": "<targetBranch>",
"title": "<title>"
},
"name": "create_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Título del PR | |
| project | No | Proyecto Azure DevOps (default: AZURE_PROJECT env var) | |
| description | No | Descripción opcional | |
| repositoryId | Yes | ID o nombre del repositorio | |
| sourceBranch | Yes | Rama con los cambios | |
| targetBranch | Yes | Rama destino (ej: main) |