repo_update_pull_request_reviewers
Add or remove reviewers from an Azure DevOps pull request by specifying repository ID, pull request ID, and reviewer IDs. Manage PR reviewers efficiently with this Azure DevOps MCP Server tool.
Instructions
Add or remove reviewers for an existing pull request.
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>",
"reviewerIds": "<reviewerIds>",
"action": "<action>"
},
"name": "repo_update_pull_request_reviewers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform on the reviewers. Can be 'add' or 'remove'. | |
| pullRequestId | Yes | The ID of the pull request to update. | |
| repositoryId | Yes | The ID of the repository where the pull request exists. | |
| reviewerIds | Yes | List of reviewer ids to add or remove from the pull request. |