Skip to main content
Table of Contents

TTMSMCPToolProperty.Required Property

When True, the parameter is listed in the required array of the input schema and a call that omits it is rejected with an invalid-parameters error. When False, an omitted parameter is simply absent from the arguments handed to the callback. Defaults to True.

API unit family: TMS.MCP.Tools Declaring type: TTMSMCPToolProperty Type: Boolean

Syntax

TMS.MCP.Tools.hppPascalC++
property Required: Boolean;
__property bool Required = {read=FRequired, write=SetRequired, default=1};

Default: True