TTMSMCPToolPropertyBuilder.ObjectClass Method
Points an object parameter at the class whose published members describe its shape, so the parameter publishes a full nested schema instead of a bare object type. The expansion applies to a tool that runs through a positional callback.
API unit family: TMS.MCP.Tools
Declaring type: TTMSMCPToolPropertyBuilder
Syntax
class function ObjectClass(AClass: TClass): TTMSMCPToolPropertyBuilderClass;
Parameters
| Name | Description |
|---|---|
AClass |
The class to derive the nested schema from. |
Returns
The property builder class, so the configuration can be chained.