get_pull_request
Retrieve a pull request's metadata, branches, reviewers, and linked work items using repository ID or name and pull request ID.
Instructions
Get a pull request with metadata, branches, reviewers and linked work items. Resolved org-wide — repoId may be a GUID or a repository name.
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": "get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request id. | |
| repoId | Yes | Repository id (GUID) or name. |