Class ToolCallingProperties.Confirmation

java.lang.Object
org.springframework.ai.model.tool.autoconfigure.ToolCallingProperties.Confirmation
Enclosing class:
ToolCallingProperties

public static class ToolCallingProperties.Confirmation extends Object
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 Details

    • Confirmation

      public Confirmation()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getTools

      public List<String> getTools()
    • setTools

      public void setTools(List<String> tools)