Table of Contents

TTMSMCPToolBuilder.Build Method

Finishes the chain and returns the configured tool, releasing the builder so another tool can be started.

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

Syntax

class function Build: TTMSMCPTool;

Returns

The finished tool. The caller owns it until it is moved into a tool collection, which takes over ownership.

Exceptions

Exception Description
EJsonRpcException Raised with an invalid-parameters code when the tool has no name.