From a97a74f33009d769965097e223d38062e76260f7 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Sun, 23 Mar 2025 23:51:48 +0800 Subject: [PATCH] docs: update McpToolAttribute name comment (#63) --- src/ModelContextProtocol/Server/McpToolAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModelContextProtocol/Server/McpToolAttribute.cs b/src/ModelContextProtocol/Server/McpToolAttribute.cs index 3d9ef83..26fb140 100644 --- a/src/ModelContextProtocol/Server/McpToolAttribute.cs +++ b/src/ModelContextProtocol/Server/McpToolAttribute.cs @@ -12,7 +12,7 @@ public sealed class McpToolAttribute : Attribute /// /// Attribute to mark a method as an MCP tool. /// - /// The name of the tool. If not provided, the class name will be used. + /// The name of the tool. If not provided, the method name will be used. public McpToolAttribute(string? name = null) { Name = name;