TTMSMCPToolBuilder.ReturnType Method
Sets the declared type of the value the callback returns, which selects how that value is converted to JSON.
API unit family: TMS.MCP.Tools
Declaring type: TTMSMCPToolBuilder
Syntax
class function ReturnType(const AType: TTMSMCPToolPropertyType): TTMSMCPToolBuilderClass;
__classmethod TTMSMCPToolBuilderClass __fastcall ReturnType(const TTMSMCPToolPropertyType AType);
Parameters
| Name | Description |
|---|---|
AType |
The return type. |
Returns
The tool builder class, so the configuration can be chained.