Tool Result Message
class ToolResultMessage constructor(val toolCallId: String, val toolName: String, content: String, val timestamp: Instant = Instant.now()) : BaseMessage
Message containing the result of a tool execution. This is sent back to the LLM after executing a tool.
Properties
Functions
Link copied to clipboard
fun Message.toSpringAiMessage(toolResponseContentAdapter: ToolResponseContentAdapter = ToolResponseContentAdapter.PASSTHROUGH): <Error class: unknown class>
Convert one of our messages to a Spring AI message with multimodal support.