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.
-
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 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 Map<String, JsonValue>_additionalProperties()final SessionExecuteParams.ExecuteOptions.BuildertoBuilder()final SessionExecuteParams.ExecuteOptionsvalidate()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
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionExecuteParams.ExecuteOptions.Builder toBuilder()
-
validate
final SessionExecuteParams.ExecuteOptions validate()
-
builder
final static SessionExecuteParams.ExecuteOptions.Builder builder()
Returns a mutable builder for constructing an instance of ExecuteOptions.
The following fields are required:
.instruction()
-
-
-
-