Uses of Record Class
org.springframework.ai.model.tool.ToolCallDecision
Packages that use ToolCallDecision
-
Uses of ToolCallDecision in org.springframework.ai.model.tool
Methods in org.springframework.ai.model.tool that return ToolCallDecisionModifier and TypeMethodDescriptionstatic ToolCallDecisionAllows the tool call to run.@Nullable ToolCallDecisionToolCallDecisions.decisionOn(String toolCallId) The decision on the tool call with the key, ornullwhen there is none.static ToolCallDecisionDenies the tool call; the model receives the default message.static ToolCallDecisionDenies the tool call; the model receives the message as the call's result.Methods in org.springframework.ai.model.tool that return types with arguments of type ToolCallDecisionModifier and TypeMethodDescriptionToolCallDecisions.decisions()Returns the value of thedecisionsrecord component.Methods in org.springframework.ai.model.tool with parameters of type ToolCallDecisionModifier and TypeMethodDescriptionstatic ToolCallDecisionsToolCallDecisions.of(ToolCallDecision... decisions) The decisions, one per tool call.Constructor parameters in org.springframework.ai.model.tool with type arguments of type ToolCallDecisionModifierConstructorDescriptionToolCallDecisions(List<ToolCallDecision> decisions) Creates an instance of aToolCallDecisionsrecord class.