Class AIGuard.ToolCall.Function

java.lang.Object
datadog.trace.api.aiguard.AIGuard.ToolCall.Function
Enclosing class:
AIGuard.ToolCall

public static class AIGuard.ToolCall.Function extends Object
Represents the function details within a tool call, including the function name and its arguments.
  • Constructor Details

    • Function

      public Function(String name, String arguments)
      Creates a new function with the specified name and arguments.
      Parameters:
      name - the name of the function to call
      arguments - the function arguments as a JSON string
  • Method Details

    • getName

      public String getName()
      Returns the name of the function to call.
      Returns:
      the function name
    • getArguments

      public String getArguments()
      Returns the function arguments as a JSON string.
      Returns:
      the arguments in JSON format