Core Protocol docs edit pass (#1032)
This commit is contained in:
parent
f45996d4b5
commit
c87eba3f1f
1 changed files with 242 additions and 240 deletions
|
|
@ -11,10 +11,10 @@ namespace ModelContextProtocol.Protocol;
|
|||
public sealed class ToolsCapability
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets whether this server supports notifications for changes to the tool list.
|
||||
/// Gets or sets a value that indicates whether this server supports notifications for changes to the tool list.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// When set to <see langword="true"/>, the server will send notifications using
|
||||
/// When set to <see langword="true"/>, the server sends notifications using
|
||||
/// <see cref="NotificationMethods.ToolListChangedNotification"/> when tools are added,
|
||||
/// removed, or modified. Clients can register handlers for these notifications to
|
||||
/// refresh their tool cache. This capability enables clients to stay synchronized with server-side
|
||||
|
|
@ -67,4 +67,4 @@ public sealed class ToolsCapability
|
|||
[Obsolete($"Use {nameof(McpServerOptions.ToolCollection)} instead. This member will be removed in a subsequent release.")] // See: https://github.com/modelcontextprotocol/csharp-sdk/issues/774
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public McpServerPrimitiveCollection<McpServerTool>? ToolCollection { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue