Uses of Record Class
org.springframework.ai.chat.messages.ToolResponseMessage.ToolResponse
Packages that use ToolResponseMessage.ToolResponse
Package
Description
Ordered, typed content parts carried by chat messages: text, tool calls, tool results,
media and an opaque fallback for provider blocks that are not modeled yet.
-
Uses of ToolResponseMessage.ToolResponse in org.springframework.ai.chat.messages
Fields in org.springframework.ai.chat.messages with type parameters of type ToolResponseMessage.ToolResponseModifier and TypeFieldDescriptionprotected final List<ToolResponseMessage.ToolResponse>ToolResponseMessage.responsesDeprecated, for removal: This API element is subject to removal in a future version.Methods in org.springframework.ai.chat.messages that return types with arguments of type ToolResponseMessage.ToolResponseModifier and TypeMethodDescriptionToolResponseMessage.getResponses()The tool responses of this message: the text of eachToolResultPart, in part order.Method parameters in org.springframework.ai.chat.messages with type arguments of type ToolResponseMessage.ToolResponseModifier and TypeMethodDescriptionToolResponseMessage.Builder.responses(List<ToolResponseMessage.ToolResponse> responses) Constructor parameters in org.springframework.ai.chat.messages with type arguments of type ToolResponseMessage.ToolResponseModifierConstructorDescriptionprotectedToolResponseMessage(List<ToolResponseMessage.ToolResponse> responses, Map<String, Object> metadata) -
Uses of ToolResponseMessage.ToolResponse in org.springframework.ai.chat.messages.part
Methods in org.springframework.ai.chat.messages.part that return ToolResponseMessage.ToolResponseModifier and TypeMethodDescriptionToolResultPart.toToolResponse()Converts this part back to a legacyToolResponseMessage.ToolResponseby joining its text content.Methods in org.springframework.ai.chat.messages.part with parameters of type ToolResponseMessage.ToolResponseModifier and TypeMethodDescriptionstatic ToolResultPartToolResultPart.of(ToolResponseMessage.ToolResponse response) Wraps a legacyToolResponseMessage.ToolResponseas a result part with a single text part.
ToolResponseMessage.getResponses(); kept so existing subclasses that read the field keep compiling.