TTMSMCPCustomClientConnection.GetTools Method
Returns the tool catalog the server published, one entry per tool.
API unit family: TMS.MCP.Client.Connection
Declaring type: TTMSMCPCustomClientConnection
Syntax
function GetTools: TJSONArray;
Remarks
This is the connection's own internal array, not a copy. Never free the result, never modify it, and never hold on to it: Stop and every catalog refresh replace the array, which leaves an earlier reference dangling. Copy what is needed before the connection can refresh.
Returns
The cached catalog, empty until the handshake has completed and the catalog has been received.