RunStepFunctionToolCall Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. RunStepToolCall - com.
azure. ai. agents. persistent. models. RunStepFunctionToolCall
- com.
- com.
public final class RunStepFunctionToolCall
extends RunStepToolCall
A record of a call to a function tool, issued by the model in evaluation of a defined tool, that represents the inputs and output consumed and emitted by the specified function.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
|
Run |
getFunction()
Get the function property: The detailed information about the function called by the model. |
| String |
getType()
Get the type property: The object type. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from RunStepToolCall
Methods inherited from java.lang.Object
Method Details
fromJson
public static RunStepFunctionToolCall fromJson(JsonReader jsonReader)
Reads an instance of RunStepFunctionToolCall from the JsonReader.
Parameters:
Returns:
Throws:
getFunction
public RunStepFunctionToolCallDetails getFunction()
Get the function property: The detailed information about the function called by the model.
Returns:
getType
public String getType()
Get the type property: The object type.
Overrides:
RunStepFunctionToolCall.getType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RunStepFunctionToolCall.toJson(JsonWriter jsonWriter)Parameters:
Throws: