get_pull_request
Retrieve an Azure DevOps pull request by project and PR ID when repository context is unavailable, supporting project-scoped PR IDs on Azure DevOps Server.
Instructions
Get a pull request by ID (no repositoryId required; best for Azure DevOps Server where PR IDs are project-scoped)
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": {
"projectId": "<projectId>",
"pullRequestId": "<pullRequestId>"
},
"name": "get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The ID or name of the project | |
| pullRequestId | Yes | The ID of the pull request | |
| organizationId | No | The ID or name of the organization (Default: mycompany) |