List work item comments
devops_work_item_comment_listRetrieve comments from an Azure DevOps work item, with options to cap the number returned and choose HTML or markdown format for review.
Instructions
List comments on a work item. Returns up to top comments (default 50).
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": {
"work_item_id": "<work_item_id>"
},
"name": "devops_work_item_comment_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of comments to return. Defaults to 50. | |
| format | No | Response format: 'html' (default) or 'markdown'. | html |
| work_item_id | Yes | The numeric work item ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |