Elicitations

interface Elicitations(source)

Perform User Elicitations to the MCP client. Works during a incoming calls.

Functions

Link copied to clipboard
abstract fun onComplete(fn: (ElicitationId) -> Unit)

Register a callback for when an elicitation completes

Link copied to clipboard
abstract fun onElicitation(overrideDefaultTimeout: Duration? = null, fn: ElicitationHandler)

Note that the timeout defined here is applied between each message received by the model