Class ResponseInputItem.ShellCall.Action
-
- All Implemented Interfaces:
public final class ResponseInputItem.ShellCall.ActionThe shell commands and limits that describe how to run the tool call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputItem.ShellCall.Action.BuilderA builder for Action.
-
Method Summary
Modifier and Type Method Description final List<String>commands()Ordered shell commands for the execution environment to run. final Optional<Long>maxOutputLength()Maximum number of UTF-8 characters to capture from combined stdout and stderr output. final Optional<Long>timeoutMs()Maximum wall-clock time in milliseconds to allow the shell commands to run. final JsonField<List<String>>_commands()Returns the raw JSON value of commands. final JsonField<Long>_maxOutputLength()Returns the raw JSON value of maxOutputLength. final JsonField<Long>_timeoutMs()Returns the raw JSON value of timeoutMs. final Map<String, JsonValue>_additionalProperties()final ResponseInputItem.ShellCall.Action.BuildertoBuilder()final ResponseInputItem.ShellCall.Actionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputItem.ShellCall.Action.Builderbuilder()Returns a mutable builder for constructing an instance of Action. -
-
Method Detail
-
maxOutputLength
final Optional<Long> maxOutputLength()
Maximum number of UTF-8 characters to capture from combined stdout and stderr output.
-
timeoutMs
final Optional<Long> timeoutMs()
Maximum wall-clock time in milliseconds to allow the shell commands to run.
-
_commands
final JsonField<List<String>> _commands()
Returns the raw JSON value of commands.
Unlike commands, this method doesn't throw if the JSON field has an unexpected type.
-
_maxOutputLength
final JsonField<Long> _maxOutputLength()
Returns the raw JSON value of maxOutputLength.
Unlike maxOutputLength, this method doesn't throw if the JSON field has an unexpected type.
-
_timeoutMs
final JsonField<Long> _timeoutMs()
Returns the raw JSON value of timeoutMs.
Unlike timeoutMs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseInputItem.ShellCall.Action.Builder toBuilder()
-
validate
final ResponseInputItem.ShellCall.Action 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 ResponseInputItem.ShellCall.Action.Builder builder()
Returns a mutable builder for constructing an instance of Action.
The following fields are required:
.commands()
-
-
-
-