Skip to main content
Table of Contents

TTMSMCPPromptMessages.ToJSON Method

Builds the message list published for the expanded prompt.

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

Syntax

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

Returns

A new array holding one object per message, in order. The caller owns the returned array.