MemoryCommandToolCall Class
- java.
lang. Object - com.
azure. ai. agents. models. MemoryCommandToolCall
- com.
Implements
public final class MemoryCommandToolCall
implements JsonSerializable<MemoryCommandToolCall>
A memory command tool call.
Constructor Summary
| Constructor | Description |
|---|---|
| MemoryCommandToolCall(String callId, String arguments, ToolCallStatus status) |
Creates an instance of Memory |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Memory |
fromJson(JsonReader jsonReader)
Reads an instance of Memory |
| String |
getArguments()
Get the arguments property: A JSON string of the arguments to pass to the tool, including `action` (`remember` or `forget`) and `content`. |
| String |
getCallId()
Get the call |
|
Tool |
getStatus()
Get the status property: The status of the tool call. |
| String |
getType()
Get the type property: The type property. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
MemoryCommandToolCall
public MemoryCommandToolCall(String callId, String arguments, ToolCallStatus status)
Creates an instance of MemoryCommandToolCall class.
Parameters:
Method Details
fromJson
public static MemoryCommandToolCall fromJson(JsonReader jsonReader)
Reads an instance of MemoryCommandToolCall from the JsonReader.
Parameters:
Returns:
Throws:
getArguments
public String getArguments()
Get the arguments property: A JSON string of the arguments to pass to the tool, including `action` (`remember` or `forget`) and `content`.
Returns:
getCallId
public String getCallId()
Get the callId property: The unique ID of the tool call generated by the model.
Returns:
getStatus
public ToolCallStatus getStatus()
Get the status property: The status of the tool call.
Returns:
getType
public String getType()
Get the type property: The type property.
Returns: