TTMSMCPPromptMessages.ToJSON Method
Builds the message list published for the expanded prompt.
API unit family: TMS.MCP.Prompts
Declaring type: TTMSMCPPromptMessages
Syntax
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.