ITMSMCPOutputSchemaAttribute Interface
Carries the schema that describes the structured result of a tool.
API unit family: TMS.MCP.Attributes
Extends: ITMSMCPCustomValueAttribute
Syntax
ITMSMCPOutputSchemaAttribute = interface(ITMSMCPCustomValueAttribute)
Remarks
The value is published verbatim, so it has to be a valid JSON schema document. Use it when a tool returns structured content that the caller should be able to validate, rather than a plain scalar the return type already describes.
Properties
| Name | Description |
|---|---|
| Value | Text value carried by the attribute. (inherited from ITMSMCPCustomValueAttribute) |
Methods
| Name | Description |
|---|---|
| GetValue | Returns the text value carried by the attribute. (inherited from ITMSMCPCustomValueAttribute) |
| SetValue | Replaces the text value carried by the attribute. (inherited from ITMSMCPCustomValueAttribute) |