get_comments
Retrieves the discussion comments for a specified Azure DevOps work item by ID, with an optional limit on how many comments to return.
Instructions
Comments (Discussion) of a 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": {
"work_item_id": "<work_item_id>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| work_item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |