docs: update McpToolAttribute name comment (#63)

This commit is contained in:
Weihan Li 2025-03-23 23:51:48 +08:00 • committed by GitHub
commit a97a74f330
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ public sealed class McpToolAttribute : Attribute
/// <summary>
/// Attribute to mark a method as an MCP tool.
/// </summary>
/// <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>
public McpToolAttribute(string? name = null)
{
Name = name;