TsgcWSAPIServer_MCP › Methods › SendNotificationToolsListChanged
Broadcasts notifications/tools/list_changed so clients refresh their tool catalogue.
procedure SendNotificationToolsListChanged;
Pushes a notifications/tools/list_changed message to every session that has an open streaming connection, so the client re-issues tools/list and refreshes its view of the registered tools. Call it after mutating the Tools catalogue at runtime (for example following Tools.AddTool, Tools.Delete or a configuration reload). The notification is only emitted when TransportOptions.HttpStreamable.Enabled is True; pure short-lived HTTP clients will learn of the change on their next poll.
MCPServer.Tools.AddTool('ops.restart', 'Restart a deployment');
MCPServer.SendNotificationToolsListChanged;