Skip to content

Commit a97a74f

Browse files
authored
docs: update McpToolAttribute name comment (#63)
1 parent e76dbb5 commit a97a74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModelContextProtocol/Server/McpToolAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public sealed class McpToolAttribute : Attribute
1212
/// <summary>
1313
/// Attribute to mark a method as an MCP tool.
1414
/// </summary>
15-
/// <param name="name">The name of the tool. If not provided, the class name will be used.</param>
15+
/// <param name="name">The name of the tool. If not provided, the method name will be used.</param>
1616
public McpToolAttribute(string? name = null)
1717
{
1818
Name = name;

0 commit comments

Comments
 (0)