Table of Contents

TTMSMCPToolBuilder.OutputSchema Method

Publishes a JSON Schema describing the structured result of the tool. Pair it with the structured callback so the returned object matches the advertised schema.

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

Syntax

class function OutputSchema(const ASchema: string): TTMSMCPToolBuilderClass;

Parameters

Name Description
ASchema The output schema as a JSON string.

Returns

The tool builder class, so the configuration can be chained.