Class ResponseItem.LocalShellCallOutput
-
- All Implemented Interfaces:
public final class ResponseItem.LocalShellCallOutputThe output of a local shell tool call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseItem.LocalShellCallOutput.BuilderA builder for LocalShellCallOutput.
public final classResponseItem.LocalShellCallOutput.StatusThe status of the item. One of
in_progress,completed, orincomplete.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the local shell tool call generated by the model. final Stringoutput()A JSON string of the output of the local shell tool call. final JsonValue_type()The type of the local shell tool call output. final Optional<ResponseItem.LocalShellCallOutput.Status>status()The status of the item. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_output()Returns the raw JSON value of output. final JsonField<ResponseItem.LocalShellCallOutput.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final ResponseItem.LocalShellCallOutput.BuildertoBuilder()final ResponseItem.LocalShellCallOutputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseItem.LocalShellCallOutput.Builderbuilder()Returns a mutable builder for constructing an instance of LocalShellCallOutput. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the local shell tool call output. Always
local_shell_call_output.Expected to always return the following:
JsonValue.from("local_shell_call_output")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
status
final Optional<ResponseItem.LocalShellCallOutput.Status> status()
The status of the item. One of
in_progress,completed, orincomplete.
-
_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.
-
_output
final JsonField<String> _output()
Returns the raw JSON value of output.
Unlike output, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<ResponseItem.LocalShellCallOutput.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 ResponseItem.LocalShellCallOutput.Builder toBuilder()
-
validate
final ResponseItem.LocalShellCallOutput validate()
-
builder
final static ResponseItem.LocalShellCallOutput.Builder builder()
Returns a mutable builder for constructing an instance of LocalShellCallOutput.
The following fields are required:
.id() .output()
-
-
-
-