RepoJournal
Spring

@spring-projects

Spring Framework, Spring Boot, and the JVM enterprise layer

Keep up with Spring in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Java Full archive →

The Wire · Showcase

SPRING AI TOOLS API OVERHAUL SHIPS WITH AUTO-REGISTRATION AND FLUENT DSL

By RepoJournal · Filed · About Spring

Spring AI replaced its scattered tool-registration methods with a unified ToolSpec fluent API while automatically wiring ToolCallAdvisor when tools are configured.

The AI team landed three major capability upgrades overnight. ToolCallAdvisor now auto-registers when tools are configured on ChatClient [1], eliminating boilerplate setup and automatically tuning stream behavior based on whether you call() or stream(). The new ToolSpec fluent API [2] consolidates what were scattered toolCallbacks, toolNames, and toolContext overloads into a single consumer-based entry point with instances(), callbacks(), context(), and advisor() methods, deprecating the old overloads for cleaner code. BeanOutputConverter was refactored to reuse the core JsonSchemaGenerator [3], removing postProcessSchema() as an extension point and recursively applying additionalProperties: false to nested schemas for better schema safety. Spring cleaned up the integration-tests bindings config for main [8], while also removing unused HanaDB properties [6] and CosmosDB components entirely [7] with upgrade docs shipped alongside. Spring Security bumped JUnit to 6.1.0 [9] and CAS client to 4.1.1 [10] with no breaking changes. Spring Integration added DSL support for Redis Stream Channel Adapters [4] [5], a long-requested feature for reactive stream patterns.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] feat(ChatClient): Auto-register ToolCallAdvisor when tools are configured spring-projects/spring-ai
  2. [2] feat(ChatClient): introduce ToolSpec fluent API spring-projects/spring-ai
  3. [3] GH-5884: Reuse JsonSchemaGenerator in BeanOutputConverter spring-projects/spring-ai
  4. [4] GH-8108: Add DSL for Redis Stream Channel Adapters ↗ spring-projects/spring-integration
  5. [5] GH-8108: Add DSL for Redis Stream Channel Adapters spring-projects/spring-integration
  6. [6] Remove unused Hanadb properties and other configs spring-projects/spring-ai
  7. [7] Remove CosmosDB related components from Spring AI spring-projects/spring-ai
  8. [8] Fix spring-cloud-bindings for main branch spring-projects/spring-ai-integration-tests
  9. [9] Bump org.junit:junit-bom from 6.0.3 to 6.1.0 ↗ spring-projects/spring-security
  10. [10] Bump org.apereo.cas.client:cas-client-core from 4.1.0 to 4.1.1 ↗ spring-projects/spring-security

Quick answers

What shipped in Spring on May 21, 2026?
Spring AI replaced its scattered tool-registration methods with a unified ToolSpec fluent API while automatically wiring ToolCallAdvisor when tools are configured. In total, 23 commits and 4 pull requests landed.
Who contributed to Spring on May 21, 2026?
2 developers shipped this update, including mjd507 and dependabot[bot].
What were the notable Spring updates?
feat(ChatClient): Auto-register ToolCallAdvisor when tools are configured, feat(ChatClient): introduce ToolSpec fluent API, and GH-5884: Reuse JsonSchemaGenerator in BeanOutputConverter.

More from @spring-projects

Daily updates, in your inbox

Follow Spring

Keep up with Spring in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?