Skip to main content
Table of Contents

TTMSMCPPromptArgument.ToJSON Method

Builds the descriptor published for this argument.

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

Syntax

TMS.MCP.Prompts.hppPascalC++
function ToJSON: TJSONValue;
System::Json::TJSONValue* __fastcall ToJSON();

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.