repo_list_pull_requests_by_commits
Retrieve pull requests linked to specific commit IDs in an Azure DevOps repository, so you can trace code changes to their corresponding reviews and merge activity.
Instructions
Get pull requests associated with specific commits.
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>",
"commitIds": "<commitIds>"
},
"name": "repo_list_pull_requests_by_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | The project name or ID. | |
| commitIds | Yes | Commit IDs. | |
| repositoryId | Yes | The repository ID. |