Skip to main content
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

TMS.MCP.Tools.hppPascalC++
class function OutputSchema(const ASchema: string): TTMSMCPToolBuilderClass;
__classmethod TTMSMCPToolBuilderClass __fastcall OutputSchema(const System::UnicodeString ASchema);

Parameters

Name Description
ASchema The output schema as a JSON string.

Returns

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