comment-on-pr
Post comments on Azure DevOps pull requests to provide feedback and track issues during code review.
Instructions
Leave a comment on 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>",
"comment": "<comment>"
},
"name": "comment-on-pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Status of the comment thread | active |
| comment | Yes | Comment to add | |
| repositoryId | Yes | ID of the repository | |
| pullRequestId | Yes | ID of the pull request |