From 0cd6053e5ab49cf620de16f271b2ac80d694b394 Mon Sep 17 00:00:00 2001 From: Bram Gadeyne Date: Fri, 17 Jul 2026 10:32:45 +0200 Subject: [PATCH] docs: clarify HTML formatting support in comment tools (#11) --- .../src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotnet/src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs b/dotnet/src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs index e51170b6..c668a09a 100644 --- a/dotnet/src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs +++ b/dotnet/src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs @@ -69,10 +69,10 @@ public async Task GetWorkItemContext(string collection, string project, /// The Azure DevOps collection name /// The Azure DevOps project name or ID /// The numeric work item ID - /// The comment content to add. Azure DevOps stores comments as rich text (typically HTML), so formatting markup such as <div>, <br>, &nbsp;, <span>, lists, and related HTML elements may be present. + /// The comment content to add. Azure DevOps stores comments as rich text and supports both plain text and basic HTML formatting (div, br, nbsp, span, lists, etc.). /// JSON object with the created comment ID and URL [McpServerTool(Name = "wit_add_work_item_comment")] - [Description("Adds a comment to a work item in Azure DevOps. Comments are stored as rich text (typically HTML), and may include markup such as div, br, nbsp, spans, lists, and other formatting elements.")] + [Description("Adds a comment to a work item in Azure DevOps. Comments can include HTML formatting such as div, br, nbsp, spans, lists, and other basic HTML elements.")] public async Task AddWorkItemComment(string collection, string project, int workItemId, string comment) { try @@ -99,10 +99,10 @@ public async Task AddWorkItemComment(string collection, string project, /// The Azure DevOps project name or ID /// The numeric work item ID /// The ID of the comment to update - /// The updated comment content. Azure DevOps stores comments as rich text (typically HTML), so formatting markup such as <div>, <br>, &nbsp;, <span>, lists, and related HTML elements may be present. + /// The updated comment content. Azure DevOps stores comments as rich text and supports both plain text and basic HTML formatting (div, br, nbsp, span, lists, etc.). /// JSON object with the updated comment details [McpServerTool(Name = "wit_update_work_item_comment")] - [Description("Updates an existing comment on a work item in Azure DevOps. Comments are stored as rich text (typically HTML), and may include markup such as div, br, nbsp, spans, lists, and other formatting elements.")] + [Description("Updates an existing comment on a work item in Azure DevOps. Comments can include HTML formatting such as div, br, nbsp, spans, lists, and other basic HTML elements.")] public async Task UpdateWorkItemComment(string collection, string project, int workItemId, int commentId, string text) { try