Table of Contents

TTMSMCPToolPropertyBuilder.Required Method

Marks the parameter as required or optional. Parameters are required by default, so call this step with False to make one optional.

API unit family: TMS.MCP.Tools Declaring type: TTMSMCPToolPropertyBuilder

Syntax

class function Required(ARequired: Boolean = True): TTMSMCPToolPropertyBuilderClass;

Parameters

Name Description
ARequired When True, a call that omits the parameter is rejected; when False, an omitted parameter is simply absent from the callback arguments.

Returns

The property builder class, so the configuration can be chained.