Update work item comment
update_work_item_commentUpdate an Azure Boards work item comment by replacing its text. Provide the work item ID, comment ID, new text, and confirm=true to apply changes.
Instructions
Replace the text of an Azure Boards work item comment. Azure DevOps author and permission rules apply. Requires write tools and confirm=true.
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>",
"commentId": "<commentId>",
"text": "<text>",
"confirm": "<confirm>"
},
"name": "update_work_item_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Work item comment body. | |
| confirm | Yes | Must be true to perform the mutation. | |
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| commentId | Yes | Work item comment ID. | |
| workItemId | Yes | Work item numeric ID. |