get_pr_comments
Retrieve comments from an Azure DevOps pull request, optionally filtering by status (active, fixed, closed, etc.). Get metadata for each comment.
Instructions
Retrieves comments from an Azure DevOps Pull Request with their metadata. Optionally filter by comment status (active, fixed, closed, etc.).
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": {
"pr_url": "<pr_url>"
},
"name": "get_pr_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_url | Yes | The full URL of the Azure DevOps Pull Request (e.g., https://dev.azure.com/{org}/{project}/_git/{repo}/pullrequest/{id}) | |
| status_filter | No | Optional filter for comment status. Values: active, fixed, closed, wontfix, pending, bydesign, unknown, system |