Table of Contents

TTMSMCPElicitSchema Class

Set of fields describing the structured input a server asks the connected client to supply.

API unit family: TMS.MCP.Elicitation Inherits from: TPersistent

Syntax

TTMSMCPElicitSchema = class(TPersistent)

Remarks

The schema is converted into a JSON Schema object whose properties are the fields added through TTMSMCPElicitSchema.AddField. It is used only by a request in form mode; a request in URL mode sends a link instead.

Properties

Name Description
Fields Fields making up the schema, in the order they were added.

Methods

Name Description
AddField Adds a field to the schema and returns it so its remaining attributes can be set.
ToJSON Builds the schema object describing every field that has been added.