Class SessionExecuteParams.ExecuteOptions
-
- All Implemented Interfaces:
public final class SessionExecuteParams.ExecuteOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionExecuteParams.ExecuteOptions.BuilderA builder for ExecuteOptions.
public final classSessionExecuteParams.ExecuteOptions.VariablesVariables available to the agent via %variableName% syntax in supported tools
-
Method Summary
Modifier and Type Method Description final Stringinstruction()Natural language instruction for the agent final Optional<Boolean>highlightCursor()Whether to visually highlight the cursor during execution final Optional<Double>maxSteps()Maximum number of steps the agent can take final Optional<Double>toolTimeout()Timeout in milliseconds for each agent tool call final Optional<Boolean>useSearch()Whether to enable the web search tool powered by Browserbase Search API final Optional<SessionExecuteParams.ExecuteOptions.Variables>variables()Variables available to the agent via %variableName% syntax in supported tools final JsonField<String>_instruction()Returns the raw JSON value of instruction. final JsonField<Boolean>_highlightCursor()Returns the raw JSON value of highlightCursor. final JsonField<Double>_maxSteps()Returns the raw JSON value of maxSteps. final JsonField<Double>_toolTimeout()Returns the raw JSON value of toolTimeout. final JsonField<Boolean>_useSearch()Returns the raw JSON value of useSearch. final JsonField<SessionExecuteParams.ExecuteOptions.Variables>_variables()Returns the raw JSON value of variables. final Map<String, JsonValue>_additionalProperties()final SessionExecuteParams.ExecuteOptions.BuildertoBuilder()final SessionExecuteParams.ExecuteOptionsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionExecuteParams.ExecuteOptions.Builderbuilder()Returns a mutable builder for constructing an instance of ExecuteOptions. -
-
Method Detail
-
instruction
final String instruction()
Natural language instruction for the agent
-
highlightCursor
final Optional<Boolean> highlightCursor()
Whether to visually highlight the cursor during execution
-
toolTimeout
final Optional<Double> toolTimeout()
Timeout in milliseconds for each agent tool call
-
useSearch
final Optional<Boolean> useSearch()
Whether to enable the web search tool powered by Browserbase Search API
-
variables
final Optional<SessionExecuteParams.ExecuteOptions.Variables> variables()
Variables available to the agent via %variableName% syntax in supported tools
-
_instruction
final JsonField<String> _instruction()
Returns the raw JSON value of instruction.
Unlike instruction, this method doesn't throw if the JSON field has an unexpected type.
-
_highlightCursor
final JsonField<Boolean> _highlightCursor()
Returns the raw JSON value of highlightCursor.
Unlike highlightCursor, this method doesn't throw if the JSON field has an unexpected type.
-
_maxSteps
final JsonField<Double> _maxSteps()
Returns the raw JSON value of maxSteps.
Unlike maxSteps, this method doesn't throw if the JSON field has an unexpected type.
-
_toolTimeout
final JsonField<Double> _toolTimeout()
Returns the raw JSON value of toolTimeout.
Unlike toolTimeout, this method doesn't throw if the JSON field has an unexpected type.
-
_useSearch
final JsonField<Boolean> _useSearch()
Returns the raw JSON value of useSearch.
Unlike useSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_variables
final JsonField<SessionExecuteParams.ExecuteOptions.Variables> _variables()
Returns the raw JSON value of variables.
Unlike variables, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionExecuteParams.ExecuteOptions.Builder toBuilder()
-
validate
final SessionExecuteParams.ExecuteOptions 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 SessionExecuteParams.ExecuteOptions.Builder builder()
Returns a mutable builder for constructing an instance of ExecuteOptions.
The following fields are required:
.instruction()
-
-
-
-