wit_list_work_item_comments
Fetch comments for a specific work item by ID from Azure DevOps projects. Specify project and work item details to retrieve up to a defined number of comments.
Instructions
Retrieve list of comments for a work item by ID.
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": {
"project": "<project>",
"workItemId": "<workItemId>"
},
"name": "wit_list_work_item_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The name or ID of the Azure DevOps project. | |
| top | No | Optional number of comments to retrieve. Defaults to all comments. | |
| workItemId | Yes | The ID of the work item to retrieve comments for. |