Class McpElicitationRequestEventArgs
Provides data for the ElicitationRequested event. Handlers should set the Response property to provide the user's input.
public sealed class McpElicitationRequestEventArgs : EventArgs
- Inheritance
-
McpElicitationRequestEventArgs
- Inherited Members
Constructors
- McpElicitationRequestEventArgs(McpElicitationRequest)
Initializes a new instance of McpElicitationRequestEventArgs.
Properties
- Request
Gets the elicitation request from the server.
- Response
Gets or sets the response to send back to the server. If null, a Cancel response will be sent.
- Timestamp
Gets the timestamp when this request was received.
Methods
- Accept(IDictionary<string, object>)
Accepts the elicitation with the provided content.
- Cancel()
Cancels the elicitation request.
- Decline()
Declines the elicitation request.