TTMSMCPTool.ToJSON Method
Builds the descriptor the server publishes for this tool when a client lists the available tools. The descriptor carries the name and description, an
annotationsobject when a title or at least one hint is set, the input schema, and the optionaloutputSchema,iconsandexecutionmembers when those are configured.
API unit family: TMS.MCP.Tools
Declaring type: TTMSMCPTool
Syntax
function ToJSON: TJSONValue;
Returns
A newly created JSON object owned by the caller.