| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@sainathreddyb I reworked your PR, would you have a look? |
Sorry, something went wrong.
Add URL-type elicitation schema support allowing servers to request URL input from users during tool execution. This enables out-of-band interactions like payment processing or API key entry. Breaking changes: - `ElicitRequest` changed from a `record` to an `interface`. - The original `ElicitRequest` record was renamed to `ElicitFormRequest`. - `McpClient` builder `elicitation()` methods now accept `ElicitFormRequest` instead of `ElicitRequest`. New APIs: - `ElicitUrlRequest` record for URL-mode elicitation. - `urlElicitation()` builder methods in `McpClient`. - `elicitationCompleteConsumer()` and `elicitationCompleteConsumers()` builder methods in `McpClient`. - `sendElicitationComplete()` methods in `McpAsyncServer` and `McpSyncServer`. - `McpError.URL_ELICITATION_REQUIRED` and `McpSchema.ErrorCodes.URL_ELICITATION_REQUIRED`. - `ElicitationCompleteNotification` record and `METHOD_NOTIFICATION_ELICITATION_COMPLETE` constant. Co-authored-by: Daniel Garnier-Moiroux <git@garnier.wf>
There was a problem hiding this comment.
Overall this looks great! Just a few minor requests. Also, please add the breaking changes information into the migration md file.
Sorry, something went wrong.
| exchange.getClientCapabilities().elicitation() != null | ||
| && exchange.getClientCapabilities().elicitation().url() != null |
There was a problem hiding this comment.
The UX is not great but we can add something to simplify the check in the future.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add URL-type elicitation schema support allowing servers to request URL input from users during tool execution. This enables out-of-band interactions like payment processing or API key entry.
Breaking changes:
New APIs:
Supersedes #939
Closes #692