RequiredFunctionToolCall Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. RequiredToolCall - com.
azure. ai. agents. persistent. models. RequiredFunctionToolCall
- com.
- com.
public final class RequiredFunctionToolCall
extends RequiredToolCall
A representation of a requested call to a function tool, needed by the model to continue evaluation of a run.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Required |
fromJson(JsonReader jsonReader)
Reads an instance of Required |
|
Required |
getFunction()
Get the function property: Detailed information about the function to be executed by the tool that includes name and arguments. |
| String |
getType()
Get the type property: The object type for the required tool call. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from RequiredToolCall
Methods inherited from java.lang.Object
Method Details
fromJson
public static RequiredFunctionToolCall fromJson(JsonReader jsonReader)
Reads an instance of RequiredFunctionToolCall from the JsonReader.
Parameters:
Returns:
Throws:
getFunction
public RequiredFunctionToolCallDetails getFunction()
Get the function property: Detailed information about the function to be executed by the tool that includes name and arguments.
Returns:
getType
public String getType()
Get the type property: The object type for the required tool call.
Overrides:
RequiredFunctionToolCall.getType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RequiredFunctionToolCall.toJson(JsonWriter jsonWriter)Parameters:
Throws: