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;
Returns
A new array holding one object per message, in order. The caller owns the returned array.