TsgcWSAPIServer_MCP › Methods › SendNotificationPromptsListChanged
Broadcasts notifications/prompts/list_changed so clients refresh their prompt catalogue.
procedure SendNotificationPromptsListChanged;
Sends notifications/prompts/list_changed to every connected streaming session so clients re-issue prompts/list and learn about prompts added, removed or renamed on the server. Call it after mutating the Prompts catalogue. The notification is only emitted when TransportOptions.HttpStreamable.Enabled is True.
MCPServer.Prompts.AddPrompt('ops.plan-template', 'Guides the assistant through remediation steps');
MCPServer.SendNotificationPromptsListChanged;