Table of Contents

TTMSMCPPromptArgument.ToJSON Method

Builds the descriptor published for this argument.

API unit family: TMS.MCP.Prompts Declaring type: TTMSMCPPromptArgument

Syntax

function ToJSON: TJSONValue;

Returns

A new object carrying the name, the description when one was set, and the required marker only when the argument is required. The caller owns the returned object.