Update work item comment
update_work_item_commentUpdate an existing comment on a work item by providing the work item id, comment id, and new text.
Instructions
Replace the text of an existing comment (use get_work_item_comments to find comment ids).
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": {
"id": "<id>",
"commentId": "<commentId>",
"text": "<text>"
},
"name": "update_work_item_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Work item id | |
| text | Yes | New comment text (plain text or HTML). | |
| project | No | Team project name or id. Overrides TFS_DEFAULT_PROJECT. Work items and repos may live in different projects. | |
| commentId | Yes | Comment id |