Skip to main content
Table of Contents

TTMSMCPPromptArgument.Required Property

Whether the prompt refuses to expand unless a value is supplied for this argument.

API unit family: TMS.MCP.Prompts Declaring type: TTMSMCPPromptArgument Type: Boolean

Syntax

TMS.MCP.Prompts.hppPascalC++
property Required: Boolean;
__property bool Required = {read=FRequired, write=SetRequired, nodefault};

Remarks

Defaults to False. A missing required value is reported as an invalid-parameters error, code -32602, naming the argument; a missing optional value simply reaches the handler empty. The marker is published only when it is set.