Class FileSearchToolCall
-
- All Implemented Interfaces:
public final class FileSearchToolCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FileSearchToolCall.Builder
A builder for FileSearchToolCall.
public final class
FileSearchToolCall.FileSearch
For now, this is always going to be an empty object.
-
Method Summary
Modifier and Type Method Description final String
id()
The ID of the tool call object. final FileSearchToolCall.FileSearch
fileSearch()
For now, this is always going to be an empty object. final JsonValue
_type()
The type of tool call. final JsonField<String>
_id()
Returns the raw JSON value of id. final JsonField<FileSearchToolCall.FileSearch>
_fileSearch()
Returns the raw JSON value of fileSearch. final Map<String, JsonValue>
_additionalProperties()
final FileSearchToolCall.Builder
toBuilder()
final FileSearchToolCall
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileSearchToolCall.Builder
builder()
Returns a mutable builder for constructing an instance of FileSearchToolCall. -
-
Method Detail
-
fileSearch
final FileSearchToolCall.FileSearch fileSearch()
For now, this is always going to be an empty object.
-
_type
final JsonValue _type()
The type of tool call. This is always going to be
file_search
for this type of tool call.Expected to always return the following:
JsonValue.from("file_search")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_fileSearch
final JsonField<FileSearchToolCall.FileSearch> _fileSearch()
Returns the raw JSON value of fileSearch.
Unlike fileSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileSearchToolCall.Builder toBuilder()
-
validate
final FileSearchToolCall validate()
-
builder
final static FileSearchToolCall.Builder builder()
Returns a mutable builder for constructing an instance of FileSearchToolCall.
The following fields are required:
.id() .fileSearch()
-
-
-
-