get_pull_request_comments
Fetch comments from a pull request in Azure DevOps using repository and pull request IDs, with optional filters for thread, count, or deleted comments.
Instructions
Get comments from a specific 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>"
},
"name": "get_pull_request_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of threads/comments to return | |
| threadId | No | The ID of the specific thread to get comments from | |
| projectId | No | The ID or name of the project (Default: MyProject) | |
| repositoryId | Yes | The ID or name of the repository | |
| pullRequestId | Yes | The ID of the pull request | |
| includeDeleted | No | Whether to include deleted comments | |
| organizationId | No | The ID or name of the organization (Default: mycompany) |