public class ToolChoiceObj extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ToolChoiceObj.ToolChoiceObjDeserializer |
static class |
ToolChoiceObj.ToolChoiceObjSerializer |
static class |
ToolChoiceObj.ToolObj
Represents a specific tool that can be forced for use.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static ToolChoiceObj |
of(String strValue)
Creates a ToolChoiceObj with string mode.
|
static ToolChoiceObj |
of(ToolChoiceObj.ToolObj objValue)
Creates a ToolChoiceObj with object mode for forcing a specific tool.
|
String |
toString() |
public static ToolChoiceObj of(String strValue)
strValue - The string value ("none", "auto", "required")public static ToolChoiceObj of(ToolChoiceObj.ToolObj objValue)
objValue - The specific tool object to useCopyright © 2025. All rights reserved.