Skip to content

Commit b877394

Browse files
authored
Update DocumentTools.cs
1 parent a7df172 commit b877394

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CodingWithCalvin.MCPServer.Server/Tools/DocumentTools.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public async Task<string> SaveDocumentAsync(
7373
}
7474

7575
[McpServerTool(Name = "document_cleanup", Destructive = true, Idempotent = true)]
76-
[Description("Run code cleanup on an open document in Visual Studio. The document must already be open in VS. Activates the document and executes the 'Edit.RunCodeCleanupOnFile' command.")]
76+
[Description("Run code cleanup on an open document in Visual Studio. The document must already be open in VS. Activates the document and executes the 'EditorContextMenus.FileHealthIndicator.RunDefaultCodeCleanup' command.")]
7777
public async Task<string> RunCodeCleanupAsync(
7878
[Description("The full absolute path to the document. Must be open in VS. Get the path from document_list. Supports forward slashes (/) or backslashes (\\).")] string path)
7979
{

0 commit comments

Comments
 (0)