Table of Contents

TTMSMCPPromptBuilder.AddArgument Method

Starts describing one more argument of the prompt.

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

Syntax

function AddArgument: TTMSMCPPromptArgumentBuilder;

Remarks

The argument is attached to the prompt immediately, so the order of these calls is the order the values reach the handler in.

Returns

A new argument builder whose chain is closed by the step that returns here. The caller owns it and has to free it; it is not released when the chain is closed.