Class ResponseToolSearchOutputItem
-
- All Implemented Interfaces:
public final class ResponseToolSearchOutputItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseToolSearchOutputItem.BuilderA builder for ResponseToolSearchOutputItem.
public final classResponseToolSearchOutputItem.ExecutionWhether tool search was executed by the server or by the client.
public final classResponseToolSearchOutputItem.StatusThe status of the tool search output item that was recorded.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the tool search output item. final Optional<String>callId()The unique ID of the tool search call generated by the model. final ResponseToolSearchOutputItem.Executionexecution()Whether tool search was executed by the server or by the client. final ResponseToolSearchOutputItem.Statusstatus()The status of the tool search output item that was recorded. final List<Tool>tools()The loaded tool definitions returned by tool search. final JsonValue_type()The type of the item. final Optional<String>createdBy()The identifier of the actor that created the item. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<ResponseToolSearchOutputItem.Execution>_execution()Returns the raw JSON value of execution. final JsonField<ResponseToolSearchOutputItem.Status>_status()Returns the raw JSON value of status. final JsonField<List<Tool>>_tools()Returns the raw JSON value of tools. final JsonField<String>_createdBy()Returns the raw JSON value of createdBy. final Map<String, JsonValue>_additionalProperties()final ResponseToolSearchOutputItem.BuildertoBuilder()final ResponseToolSearchOutputItemvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseToolSearchOutputItem.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseToolSearchOutputItem. -
-
Method Detail
-
callId
final Optional<String> callId()
The unique ID of the tool search call generated by the model.
-
execution
final ResponseToolSearchOutputItem.Execution execution()
Whether tool search was executed by the server or by the client.
-
status
final ResponseToolSearchOutputItem.Status status()
The status of the tool search output item that was recorded.
-
_type
final JsonValue _type()
The type of the item. Always
tool_search_output.Expected to always return the following:
JsonValue.from("tool_search_output")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.
-
_callId
final JsonField<String> _callId()
Returns the raw JSON value of callId.
Unlike callId, this method doesn't throw if the JSON field has an unexpected type.
-
_execution
final JsonField<ResponseToolSearchOutputItem.Execution> _execution()
Returns the raw JSON value of execution.
Unlike execution, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<ResponseToolSearchOutputItem.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_tools
final JsonField<List<Tool>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_createdBy
final JsonField<String> _createdBy()
Returns the raw JSON value of createdBy.
Unlike createdBy, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseToolSearchOutputItem.Builder toBuilder()
-
validate
final ResponseToolSearchOutputItem 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 ResponseToolSearchOutputItem.Builder builder()
Returns a mutable builder for constructing an instance of ResponseToolSearchOutputItem.
The following fields are required:
.id() .callId() .execution() .status() .tools()
-
-
-
-