Skip to main content
Table of Contents

TTMSMCPPromptBuilder.Name Method

Sets the identifier clients ask for the prompt by.

API unit family: TMS.MCP.Prompts Declaring type: TTMSMCPPromptBuilder

Syntax

TMS.MCP.Prompts.hppPascalC++
function Name(const AName: string): TTMSMCPPromptBuilder;
TTMSMCPPromptBuilder* __fastcall Name(const System::UnicodeString AName);

Parameters

Name Description
AName Identifier. Must not be empty.

Returns

The builder, so calls can be chained.

Exceptions

Exception Description
EJsonRpcException Raised with invalid-parameters, error code -32602, when the name is empty.