Table of Contents

TTMSMCPContent.Text Method

Builds a text content item, the plain-text result a client shows or feeds back to the model.

API unit family: TMS.MCP.Tools Declaring type: TTMSMCPContent

Syntax

class function Text(const AText: string): TJSONObject; static;

Parameters

Name Description
AText The text to return.

Returns

A newly created JSON object; it becomes owned by the content array it is added to, or by the caller when it is used on its own.