Uses of Interface
org.springframework.ai.model.tool.ToolExecutionResult
Packages that use ToolExecutionResult
Package
Description
Provides classes for advising chat clients.
-
Uses of ToolExecutionResult in org.springframework.ai.chat.client.advisor
Methods in org.springframework.ai.chat.client.advisor with parameters of type ToolExecutionResultModifier and TypeMethodDescriptionToolCallingAdvisor.doGetNextInstructionsForToolCall(ChatClientRequest chatClientRequest, ChatClientResponse chatClientResponse, ToolExecutionResult toolExecutionResult) ToolCallingAdvisor.doGetNextInstructionsForToolCallStream(ChatClientRequest chatClientRequest, ChatClientResponse chatClientResponse, ToolExecutionResult toolExecutionResult) Hook method to determine the next instructions for a tool call iteration in streaming mode. -
Uses of ToolExecutionResult in org.springframework.ai.google.genai.schema
Methods in org.springframework.ai.google.genai.schema that return ToolExecutionResultModifier and TypeMethodDescriptionGoogleGenAiToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse) Executes tool calls by delegating to the underlying tool calling manager.GoogleGenAiToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse, ToolCallDecisions decisions) Executes tool calls as a person decided, by delegating to the underlying tool calling manager. -
Uses of ToolExecutionResult in org.springframework.ai.model.tool
Classes in org.springframework.ai.model.tool that implement ToolExecutionResultMethods in org.springframework.ai.model.tool that return ToolExecutionResultModifier and TypeMethodDescriptionDefaultToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse) DefaultToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse, ToolCallDecisions decisions) ToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse) Execute the tool calls requested by the model.default ToolExecutionResultToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse, ToolCallDecisions decisions) Execute the tool calls requested by the model as a person decided: an allowed call runs, a denied call does not and the model receives the decision's message as its result.ToolCallLimitExceededException.getPartialToolExecutionResult()The result assembled from the tool calls already executed in the current batch, including a synthesized error response for the call that exceeded the limit.Methods in org.springframework.ai.model.tool with parameters of type ToolExecutionResultModifier and TypeMethodDescriptionstatic List<Generation>ToolExecutionResult.buildGenerations(ToolExecutionResult toolExecutionResult) Build a list ofGenerationfrom the tool execution result, useful for sending the tool execution result to the client directly.Constructors in org.springframework.ai.model.tool with parameters of type ToolExecutionResultModifierConstructorDescriptionToolCallLimitExceededException(@Nullable String toolName, int limit, ToolExecutionResult partialToolExecutionResult)