Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.ai.model.tool.ToolExecutionEligibilityPredicate
    since 2.0.0 for removal in 3.0.0 — internal tool execution in ChatModel implementations is superseded by org.springframework.ai.chat.client.advisor.ToolCallAdvisor used via org.springframework.ai.chat.client.ChatClient.
    org.springframework.ai.model.tool.ToolExecutionEligibilityPredicate.isToolExecutionRequired(ChatOptions, ChatResponse)
    since 2.0.0 for removal in 3.0.0
    org.springframework.ai.tool.resolution.SpringBeanToolCallbackResolver
    since 2.0.0 in favor of using ToolCallback beans directly and retrieving them via a FunctionToolCallback.
    org.springframework.ai.util.json.JsonParser
    Use JacksonUtils or JsonHelper instead
    org.springframework.ai.util.json.JsonParser.fromJson(String, Class<T>)
    Use JsonHelper.fromJson(String, Class) instead
    org.springframework.ai.util.json.JsonParser.fromJson(String, Type)
    Use JsonHelper.fromJson(String, Type) instead
    org.springframework.ai.util.json.JsonParser.fromJson(String, TypeReference<T>)
    Use JsonHelper.fromJson(String, org.springframework.core.ParameterizedTypeReference) instead
    org.springframework.ai.util.json.JsonParser.getJsonMapper()
    Use JacksonUtils.getDefaultJsonMapper() instead
    org.springframework.ai.util.json.JsonParser.toJson(Object)
    Use JsonHelper.toJson(Object, boolean) instead
    org.springframework.ai.util.json.JsonParser.toTypedObject(Object, Class<?>)
    Use JsonHelper.convertToTypedObject(java.lang.Object, java.lang.Class<?>) instead
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.ai.model.tool.ToolExecutionEligibilityPredicate
    since 2.0.0 for removal in 3.0.0 — internal tool execution in ChatModel implementations is superseded by org.springframework.ai.chat.client.advisor.ToolCallAdvisor used via org.springframework.ai.chat.client.ChatClient.
  • Deprecated Classes
    Class
    Description
    org.springframework.ai.tool.resolution.SpringBeanToolCallbackResolver
    since 2.0.0 in favor of using ToolCallback beans directly and retrieving them via a FunctionToolCallback.
    org.springframework.ai.util.json.JsonParser
    Use JacksonUtils or JsonHelper instead
  • Deprecated Methods
    Method
    Description
    org.springframework.ai.model.tool.ToolExecutionEligibilityPredicate.isToolExecutionRequired(ChatOptions, ChatResponse)
    since 2.0.0 for removal in 3.0.0
    org.springframework.ai.util.json.JsonParser.fromJson(String, Class<T>)
    Use JsonHelper.fromJson(String, Class) instead
    org.springframework.ai.util.json.JsonParser.fromJson(String, Type)
    Use JsonHelper.fromJson(String, Type) instead
    org.springframework.ai.util.json.JsonParser.fromJson(String, TypeReference<T>)
    Use JsonHelper.fromJson(String, org.springframework.core.ParameterizedTypeReference) instead
    org.springframework.ai.util.json.JsonParser.getJsonMapper()
    Use JacksonUtils.getDefaultJsonMapper() instead
    org.springframework.ai.util.json.JsonParser.toJson(Object)
    Use JsonHelper.toJson(Object, boolean) instead
    org.springframework.ai.util.json.JsonParser.toTypedObject(Object, Class<?>)
    Use JsonHelper.convertToTypedObject(java.lang.Object, java.lang.Class<?>) instead

Copyright © 2026 VMware Inc.. All rights reserved.