Update work item comment
devops_work_item_comment_updateModify an existing comment on an Azure DevOps work item by specifying the work item ID, comment ID, and updated text, with HTML or Markdown format support.
Instructions
Update an existing comment on 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>",
"comment_id": "<comment_id>",
"text": "<text>"
},
"name": "devops_work_item_comment_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The updated comment text. | |
| format | No | Format of the comment text: 'html' (default) or 'markdown'. | html |
| comment_id | Yes | The numeric ID of the comment to update. | |
| work_item_id | Yes | The numeric work item ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |