TsgcWSAPIServer_MCP › Methods › SendNotificationResourcesUpdated
Notifies subscribed clients that a specific resource URI has been updated.
procedure SendNotificationResourcesUpdated(const aUri: string);
| Name | Type | Description |
|---|---|---|
aUri | const string | URI of the resource whose contents changed (for example metrics://deployments). |
Sends notifications/resources/updated to every session that previously called resources/subscribe with this URI. The notification is only emitted when TransportOptions.HttpStreamable.Enabled is True. Use it whenever the underlying data source changes so subscribed clients can re-read the resource with resources/read.
MCPServer.SendNotificationResourcesUpdated('metrics://deployments');