Class AguiFunctionCall

java.lang.Object
io.agentscope.core.agui.model.AguiFunctionCall

public class AguiFunctionCall extends Object
Represents a function call within a tool call in the AG-UI protocol.

This class contains the function name and its arguments as a JSON string.

  • Constructor Details

    • AguiFunctionCall

      public AguiFunctionCall(String name, String arguments)
      Creates a new AguiFunctionCall.
      Parameters:
      name - The function name
      arguments - The function arguments as a JSON string
  • Method Details

    • getName

      public String getName()
      Get the function name.
      Returns:
      The function name
    • getArguments

      public String getArguments()
      Get the function arguments as a JSON string.
      Returns:
      The arguments JSON string
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object