Package com.github.copilot.sdk.events
Class ElicitationRequestedEvent
java.lang.Object
com.github.copilot.sdk.events.AbstractSessionEvent
com.github.copilot.sdk.events.ElicitationRequestedEvent
Event: elicitation.requested
Broadcast when the server or an MCP tool requests structured input from the
user. Clients that have an elicitation handler should respond via
session.ui.handlePendingElicitation.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.copilot.sdk.events.AbstractSessionEvent
getEphemeral, getId, getParentId, getTimestamp, setEphemeral, setId, setParentId, setTimestamp
-
Constructor Details
-
ElicitationRequestedEvent
public ElicitationRequestedEvent()
-
-
Method Details
-
getType
Description copied from class:AbstractSessionEventGets the event type discriminator string.This corresponds to the event type in the JSON protocol (e.g., "assistant.message", "session.idle").
- Specified by:
getTypein classAbstractSessionEvent- Returns:
- the event type string
-
getData
-
setData
-