Skip to main content
Table of Contents

TTMSMCPPromptArguments.ToJSON Method

Builds the descriptor list published with the prompt.

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

Syntax

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

Returns

A new array holding one descriptor per argument, in declaration order. The caller owns the returned array.