We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76dbb5 commit a97a74fCopy full SHA for a97a74f
src/ModelContextProtocol/Server/McpToolAttribute.cs
@@ -12,7 +12,7 @@ public sealed class McpToolAttribute : Attribute
12
/// <summary>
13
/// Attribute to mark a method as an MCP tool.
14
/// </summary>
15
- /// <param name="name">The name of the tool. If not provided, the class name will be used.</param>
+ /// <param name="name">The name of the tool. If not provided, the method name will be used.</param>
16
public McpToolAttribute(string? name = null)
17
{
18
Name = name;
0 commit comments