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

class function Name(const AName: string): TTMSMCPToolBuilderClass;

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.