Table of Contents

TTMSMCPSamplingMessageContentTypeHelper.ToString Method

Returns the protocol name of this payload kind.

API unit family: TMS.MCP.Sampling Declaring type: TTMSMCPSamplingMessageContentTypeHelper

Syntax

function ToString: string;

Returns

One of 'text', 'image', 'audio', 'tool_use' or 'tool_result'.