Class SessionExecuteParams.ExecuteOptions.Builder
-
- All Implemented Interfaces:
public final class SessionExecuteParams.ExecuteOptions.BuilderA builder for ExecuteOptions.
-
-
Method Summary
-
-
Method Detail
-
instruction
final SessionExecuteParams.ExecuteOptions.Builder instruction(String instruction)
Natural language instruction for the agent
-
instruction
final SessionExecuteParams.ExecuteOptions.Builder instruction(JsonField<String> instruction)
Sets Builder.instruction to an arbitrary JSON value.
You should usually call Builder.instruction with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
highlightCursor
final SessionExecuteParams.ExecuteOptions.Builder highlightCursor(Boolean highlightCursor)
Whether to visually highlight the cursor during execution
-
highlightCursor
final SessionExecuteParams.ExecuteOptions.Builder highlightCursor(JsonField<Boolean> highlightCursor)
Sets Builder.highlightCursor to an arbitrary JSON value.
You should usually call Builder.highlightCursor with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
maxSteps
final SessionExecuteParams.ExecuteOptions.Builder maxSteps(Double maxSteps)
Maximum number of steps the agent can take
-
maxSteps
final SessionExecuteParams.ExecuteOptions.Builder maxSteps(JsonField<Double> maxSteps)
Sets Builder.maxSteps to an arbitrary JSON value.
You should usually call Builder.maxSteps with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
toolTimeout
final SessionExecuteParams.ExecuteOptions.Builder toolTimeout(Double toolTimeout)
Timeout in milliseconds for each agent tool call
-
toolTimeout
final SessionExecuteParams.ExecuteOptions.Builder toolTimeout(JsonField<Double> toolTimeout)
Sets Builder.toolTimeout to an arbitrary JSON value.
You should usually call Builder.toolTimeout with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
useSearch
final SessionExecuteParams.ExecuteOptions.Builder useSearch(Boolean useSearch)
Whether to enable the web search tool powered by Browserbase Search API
-
useSearch
final SessionExecuteParams.ExecuteOptions.Builder useSearch(JsonField<Boolean> useSearch)
Sets Builder.useSearch to an arbitrary JSON value.
You should usually call Builder.useSearch with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
variables
final SessionExecuteParams.ExecuteOptions.Builder variables(SessionExecuteParams.ExecuteOptions.Variables variables)
Variables available to the agent via %variableName% syntax in supported tools
-
variables
final SessionExecuteParams.ExecuteOptions.Builder variables(JsonField<SessionExecuteParams.ExecuteOptions.Variables> variables)
Sets Builder.variables to an arbitrary JSON value.
You should usually call Builder.variables with a well-typed Variables value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SessionExecuteParams.ExecuteOptions.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionExecuteParams.ExecuteOptions.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionExecuteParams.ExecuteOptions.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionExecuteParams.ExecuteOptions.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionExecuteParams.ExecuteOptions.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionExecuteParams.ExecuteOptions build()
Returns an immutable instance of ExecuteOptions.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.instruction()
-
-
-
-