ado_get_pull_request
Fetch a single pull request by its ID from an Azure DevOps repository. Provide repository and pull request IDs to get details.
Instructions
Get a single pull request by 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": {
"repoId": "<repoId>",
"prId": "<prId>"
},
"name": "ado_get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID | |
| repoId | Yes | Repository name or ID | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) |