ApplyPatchToolParameter Class
- java.
lang. Object - com.
azure. ai. agents. models. Tool - com.
azure. ai. agents. models. ApplyPatchToolParameter
- com.
- com.
public final class ApplyPatchToolParameter
extends Tool
Apply patch tool Allows the assistant to create, delete, or update files using unified diffs.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplyPatchToolParameter() |
Creates an instance of Apply |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Apply |
fromJson(JsonReader jsonReader)
Reads an instance of Apply |
|
Tool |
getType()
Get the type property: The type property. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from Tool
Methods inherited from java.lang.Object
Constructor Details
ApplyPatchToolParameter
public ApplyPatchToolParameter()
Creates an instance of ApplyPatchToolParameter class.
Method Details
fromJson
public static ApplyPatchToolParameter fromJson(JsonReader jsonReader)
Reads an instance of ApplyPatchToolParameter from the JsonReader.
Parameters:
Returns:
Throws:
getType
public ToolType getType()
Get the type property: The type property.
Overrides:
ApplyPatchToolParameter.getType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplyPatchToolParameter.toJson(JsonWriter jsonWriter)Parameters:
Throws: