java-sdk/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Garnier-Moiroux dbb9bdad51
Add URL elicitation support (SEP-1036) (#993)
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>
Co-authored-by: Sainath Reddy Bobbala <bsnr@amazon.com>
2026-06-03 16:24:29 +02:00
..
blog Move mcp-spring-webflux and mcp-spring-webmvc to Spring AI 2.0 (#805) 2026-02-20 15:39:36 +01:00
images Add embedded MkDocs documentation site (#795) 2026-02-15 19:00:21 +01:00
client.md Add URL elicitation support (SEP-1036) (#993) 2026-06-03 16:24:29 +02:00
contribute.md Fix broken doc links 2026-02-15 19:22:41 +01:00
development.md Add embedded MkDocs documentation site (#795) 2026-02-15 19:00:21 +01:00
index.md Move mcp-spring-webflux and mcp-spring-webmvc to Spring AI 2.0 (#805) 2026-02-20 15:39:36 +01:00
overview.md Move mcp-spring-webflux and mcp-spring-webmvc to Spring AI 2.0 (#805) 2026-02-20 15:39:36 +01:00
quickstart.md Update the quickstart bom versionto 1.0.0 2026-02-22 17:12:40 +01:00
server.md Add URL elicitation support (SEP-1036) (#993) 2026-06-03 16:24:29 +02:00