Table of Contents

TTMSMCPOutputSchemaAttribute Class

Supplies the schema that describes the structured result of a tool.

API unit family: TMS.MCP.Attributes Inherits from: TTMSMCPCustomValueAttribute Implements: ITMSMCPOutputSchemaAttribute

Syntax

TTMSMCPOutputSchemaAttribute = class(TTMSMCPCustomValueAttribute, ITMSMCPOutputSchemaAttribute)

Remarks

The value is published as given, so it has to be a valid JSON schema document. Use it when the tool returns structured content a caller should be able to validate; a plain scalar result is already described by the return type.

Properties

Name Description
Value Text value carried by the attribute. (inherited from TTMSMCPCustomValueAttribute)

Used by