TTMSMCPPromptMessage.Role Property
Who is speaking:
userorassistant.
API unit family: TMS.MCP.Prompts
Declaring type: TTMSMCPPromptMessage
Type: string
Syntax
property Role: string;
Remarks
Assigning anything else raises an invalid-parameters error, code -32602. The check ignores surrounding blanks and letter case, but the value is stored exactly as it was assigned, so those differences survive into the published message; assign the plain lowercase form.