Class ToolCallingProperties.Confirmation
java.lang.Object
org.springframework.ai.model.tool.autoconfigure.ToolCallingProperties.Confirmation
- Enclosing class:
- ToolCallingProperties
Which tool calls need a person's confirmation before they run. The tool-calling
loop pauses on such a call; see
ToolCallDecisions. Every
ToolCallConfirmationPolicy bean adds to these settings: a call needs
confirmation when any of them says so.- Since:
- 2.1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Confirmation
public Confirmation()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getTools
-
setTools
-