Uses of Record Class
org.springframework.ai.chat.messages.part.ToolResultPart
Packages that use ToolResultPart
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 ToolResultPart in org.springframework.ai.chat.messages
Methods in org.springframework.ai.chat.messages that return types with arguments of type ToolResultPartModifier and TypeMethodDescriptionToolResponseMessage.getResults()The tool results of this message, in part order.Methods in org.springframework.ai.chat.messages with parameters of type ToolResultPartModifier and TypeMethodDescriptionToolResponseMessage.Builder.result(ToolResultPart result) Adds a tool result.Method parameters in org.springframework.ai.chat.messages with type arguments of type ToolResultPartModifier and TypeMethodDescriptionToolResponseMessage.Builder.results(List<ToolResultPart> results) Adds tool results, in order. -
Uses of ToolResultPart in org.springframework.ai.chat.messages.part
Methods in org.springframework.ai.chat.messages.part that return ToolResultPartModifier and TypeMethodDescriptionstatic ToolResultPartToolResultPart.of(ToolResponseMessage.ToolResponse response) Wraps a legacyToolResponseMessage.ToolResponseas a result part with a single text part.ToolResultPart.withAttributes(Map<String, String> attributes)