Class ToolCall.FunctionCall

java.lang.Object
io.agentscope.core.chat.completions.model.ToolCall.FunctionCall
Enclosing class:
ToolCall

public static class ToolCall.FunctionCall extends Object
Represents the function details within a tool call.
  • Constructor Details

    • FunctionCall

      public FunctionCall()
      Default constructor for deserialization.
    • FunctionCall

      public FunctionCall(String name, String arguments)
      Creates a new function call.
      Parameters:
      name - Function name
      arguments - JSON string of function arguments
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getArguments

      public String getArguments()
    • setArguments

      public void setArguments(String arguments)