get_work_item_comments
Retrieve comments and discussion history for a specific Azure DevOps work item to review feedback and decision context.
Instructions
Get comments and discussion history for a specific work item
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": {
"workItemId": "<workItemId>",
"expand": "<expand>",
"order": "<order>"
},
"name": "get_work_item_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of comments to return | |
| order | Yes | The order in which to sort the comments (Default: "asc") | asc |
| expand | Yes | The level of detail to include in the comments response (Default: "all") | all |
| projectId | No | The ID or name of the project | |
| workItemId | Yes | The ID of the work item | |
| includeDeleted | No | Include deleted comments | |
| continuationToken | No | Continuation token to retrieve the next page of comments |