createElicitation
suspend fun createElicitation(sessionId: String, message: String, requestedSchema: ElicitRequestParams.RequestedSchema, options: RequestOptions? = null): ElicitResult(source)
Triggers ServerSession.createElicitation request for session by provided sessionId.
Return
The created elicitation result.
Parameters
sessionId
The session ID to create elicitation for.
message
The elicitation message.
requestedSchema
The requested schema for the elicitation.
options
Optional request options.
Throws
If the server does not support elicitation or if the request fails.