Class FileSearchToolCall
-
- All Implemented Interfaces:
public final class FileSearchToolCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileSearchToolCall.BuilderA builder for FileSearchToolCall.
public final classFileSearchToolCall.FileSearchFor now, this is always going to be an empty object.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the tool call object. final FileSearchToolCall.FileSearchfileSearch()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.BuildertoBuilder()final FileSearchToolCallvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileSearchToolCall.Builderbuilder()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_searchfor 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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static FileSearchToolCall.Builder builder()
Returns a mutable builder for constructing an instance of FileSearchToolCall.
The following fields are required:
.id() .fileSearch()
-
-
-
-