Package datadog.trace.api.aiguard
Class AIGuard.ToolCall.Function
java.lang.Object
datadog.trace.api.aiguard.AIGuard.ToolCall.Function
- Enclosing class:
AIGuard.ToolCall
Represents the function details within a tool call, including the function name and its
arguments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the function arguments as a JSON string.getName()Returns the name of the function to call.
-
Constructor Details
-
Function
Creates a new function with the specified name and arguments.- Parameters:
name- the name of the function to callarguments- the function arguments as a JSON string
-
-
Method Details
-
getName
Returns the name of the function to call.- Returns:
- the function name
-
getArguments
Returns the function arguments as a JSON string.- Returns:
- the arguments in JSON format
-