Table of Contents

TTMSMCPServer.SendToolsChangedNotification Method

Broadcasts a notifications/tools/list_changed message to every connected client. Call it after changing the tool collection from code that bypasses the collection's own change tracking.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServer Inherited from: TTMSMCPCustomServer

Syntax

procedure SendToolsChangedNotification;

Remarks

Does nothing when no client has initialized or when EnableToolNotifications is False.