TTMSMCPPromptBuilder.Name Method
Sets the identifier clients ask for the prompt by.
API unit family: TMS.MCP.Prompts
Declaring type: TTMSMCPPromptBuilder
Syntax
function Name(const AName: string): TTMSMCPPromptBuilder;
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. |