Class AiToolCall

java.lang.Object
com.kingsrook.qqq.backend.core.actions.ai.AiToolCall

public class AiToolCall extends Object
One call of an AI tool, as requested by a model: the provider's tool-call id, the tool's wire name, and its (parsed JSON) input object. The input is untrusted, and is validated by the kernel before anything runs.
  • Constructor Details

    • AiToolCall

      public AiToolCall()
  • Method Details

    • getId

      public String getId()
      Getter for id
    • setId

      public void setId(String id)
      Setter for id
    • withId

      public AiToolCall withId(String id)
      Fluent setter for id
    • getName

      public String getName()
      Getter for name
    • setName

      public void setName(String name)
      Setter for name
    • withName

      public AiToolCall withName(String name)
      Fluent setter for name
    • getInput

      public Map<String,Object> getInput()
      Getter for input
    • setInput

      public void setInput(Map<String,Object> input)
      Setter for input
    • withInput

      public AiToolCall withInput(Map<String,Object> input)
      Fluent setter for input