Skip to main content
Table of Contents

TTMSMCPToolBuilder.Name Method

Sets the name the tool is published and invoked under.

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

Syntax

TMS.MCP.Tools.hppPascalC++
class function Name(const AName: string): TTMSMCPToolBuilderClass;
__classmethod TTMSMCPToolBuilderClass __fastcall Name(const System::UnicodeString AName);

Parameters

Name Description
AName Tool name. It must not be blank.

Returns

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

Exceptions

Exception Description
EJsonRpcException Raised with an invalid-parameters code when the name is blank.