get_pull_request
Retrieve detailed information about Azure DevOps pull requests, including commits and linked work items, to review code changes and track development progress.
Instructions
Get pull request details
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": {
"repo": "<repo>",
"pullRequestId": "<pullRequestId>"
},
"name": "get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name (default: YourProject). Specify any project name in your organization | |
| repo | Yes | Repository name | |
| pullRequestId | Yes | Pull request ID | |
| includeCommits | No | Include commits | |
| includeWorkItems | No | Include linked work items |