Table of Contents

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 annotations object when a title or at least one hint is set, the input schema, and the optional outputSchema, icons and execution members 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.