repo_get_pull_request_by_id
Retrieve a specific pull request by its ID from an Azure DevOps repository. Optionally include associated work item references for detailed tracking and management.
Instructions
Get a pull request by its ID.
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>",
"pullRequestId": "<pullRequestId>"
},
"name": "repo_get_pull_request_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeWorkItemRefs | No | Whether to reference work items associated with the pull request. | |
| pullRequestId | Yes | The ID of the pull request to retrieve. | |
| repositoryId | Yes | The ID of the repository where the pull request is located. |