Table of Contents

TTMSMCPServer.OnElicitationRequest Event

Occurs when an elicitation/create request arrives at this server and user input must be collected. Without a handler the request is rejected with an error.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServer Inherited from: TTMSMCPCustomServer

Syntax

OnElicitationRequest: TTMSMCPElicitationEvent;

Parameters

Name Description
Sender Server that received the request.
Request Parsed request: prompt message, mode, optional URL and the requested field schema. It is owned by the server; do not free it.
AResult Result to return. It arrives as nil; assign a result object to answer, or leave it unassigned to return an empty result. The server serializes and then releases the object.