docs: update McpToolAttribute name comment (#63)
This commit is contained in:
parent
e76dbb5372
commit
a97a74f330
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ public sealed class McpToolAttribute : Attribute
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Attribute to mark a method as an MCP tool.
|
/// Attribute to mark a method as an MCP tool.
|
||||||
/// </summary>
|
/// </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)
|
public McpToolAttribute(string? name = null)
|
||||||
{
|
{
|
||||||
Name = name;
|
Name = name;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue