Class ResponseToolSearchOutputItemParam
-
- All Implemented Interfaces:
public final class ResponseToolSearchOutputItemParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseToolSearchOutputItemParam.BuilderA builder for ResponseToolSearchOutputItemParam.
public final classResponseToolSearchOutputItemParam.ExecutionWhether tool search was executed by the server or by the client.
public final classResponseToolSearchOutputItemParam.StatusThe status of the tool search output.
-
Method Summary
Modifier and Type Method Description final List<Tool>tools()The loaded tool definitions returned by the tool search output. final JsonValue_type()The item type. final Optional<String>id()The unique ID of this tool search output. final Optional<String>callId()The unique ID of the tool search call generated by the model. final Optional<ResponseToolSearchOutputItemParam.Execution>execution()Whether tool search was executed by the server or by the client. final Optional<ResponseToolSearchOutputItemParam.Status>status()The status of the tool search output. final JsonField<List<Tool>>_tools()Returns the raw JSON value of tools. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<ResponseToolSearchOutputItemParam.Execution>_execution()Returns the raw JSON value of execution. final JsonField<ResponseToolSearchOutputItemParam.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final ResponseToolSearchOutputItemParam.BuildertoBuilder()final ResponseToolSearchOutputItemParamvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseToolSearchOutputItemParam.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseToolSearchOutputItemParam. -
-
Method Detail
-
_type
final JsonValue _type()
The item type. 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).
-
callId
final Optional<String> callId()
The unique ID of the tool search call generated by the model.
-
execution
final Optional<ResponseToolSearchOutputItemParam.Execution> execution()
Whether tool search was executed by the server or by the client.
-
status
final Optional<ResponseToolSearchOutputItemParam.Status> status()
The status of the tool search output.
-
_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.
-
_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<ResponseToolSearchOutputItemParam.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<ResponseToolSearchOutputItemParam.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseToolSearchOutputItemParam.Builder toBuilder()
-
validate
final ResponseToolSearchOutputItemParam validate()
-
builder
final static ResponseToolSearchOutputItemParam.Builder builder()
Returns a mutable builder for constructing an instance of ResponseToolSearchOutputItemParam.
The following fields are required:
.tools()
-
-
-
-