Handler for elicitation/create; receives the typed ElicitParams and
returns the typed ElicitResult. Null => unsupported.
Form-mode requests (the default, when mode is absent or "form")
populate message and requestedSchema; collect the input and return
ElicitResult.accept(content) (or decline()/cancel()). URL-mode
requests (2025-11-25+) set mode == "url" and carry url and
elicitationId instead of a schema — present the URL for the user to
complete out-of-band and return an action (no content). The SDK enforces
the advertised-mode capability check before invoking this.
Handler for elicitation/create; receives the typed ElicitParams and returns the typed ElicitResult. Null => unsupported.
Form-mode requests (the default, when mode is absent or "form") populate message and requestedSchema; collect the input and return ElicitResult.accept(content) (or decline()/cancel()). URL-mode requests (2025-11-25+) set mode == "url" and carry url and elicitationId instead of a schema — present the URL for the user to complete out-of-band and return an action (no content). The SDK enforces the advertised-mode capability check before invoking this.