Class SessionStartParams.Body.Builder
-
- All Implemented Interfaces:
public final class SessionStartParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
modelName
final SessionStartParams.Body.Builder modelName(String modelName)
Model name to use for AI operations
-
modelName
final SessionStartParams.Body.Builder modelName(JsonField<String> modelName)
Sets Builder.modelName to an arbitrary JSON value.
You should usually call Builder.modelName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
actTimeoutMs
final SessionStartParams.Body.Builder actTimeoutMs(Double actTimeoutMs)
Timeout in ms for act operations (deprecated, v2 only)
-
actTimeoutMs
final SessionStartParams.Body.Builder actTimeoutMs(JsonField<Double> actTimeoutMs)
Sets Builder.actTimeoutMs to an arbitrary JSON value.
You should usually call Builder.actTimeoutMs with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
browser
final SessionStartParams.Body.Builder browser(SessionStartParams.Browser browser)
-
browser
final SessionStartParams.Body.Builder browser(JsonField<SessionStartParams.Browser> browser)
Sets Builder.browser to an arbitrary JSON value.
You should usually call Builder.browser with a well-typed Browser value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
browserbaseSessionCreateParams
final SessionStartParams.Body.Builder browserbaseSessionCreateParams(SessionStartParams.BrowserbaseSessionCreateParams browserbaseSessionCreateParams)
-
browserbaseSessionCreateParams
final SessionStartParams.Body.Builder browserbaseSessionCreateParams(JsonField<SessionStartParams.BrowserbaseSessionCreateParams> browserbaseSessionCreateParams)
Sets Builder.browserbaseSessionCreateParams to an arbitrary JSON value.
You should usually call Builder.browserbaseSessionCreateParams with a well-typed BrowserbaseSessionCreateParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
browserbaseSessionId
final SessionStartParams.Body.Builder browserbaseSessionId(String browserbaseSessionId)
Existing Browserbase session ID to resume
-
browserbaseSessionId
final SessionStartParams.Body.Builder browserbaseSessionId(JsonField<String> browserbaseSessionId)
Sets Builder.browserbaseSessionId to an arbitrary JSON value.
You should usually call Builder.browserbaseSessionId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
domSettleTimeoutMs
final SessionStartParams.Body.Builder domSettleTimeoutMs(Double domSettleTimeoutMs)
Timeout in ms to wait for DOM to settle
-
domSettleTimeoutMs
final SessionStartParams.Body.Builder domSettleTimeoutMs(JsonField<Double> domSettleTimeoutMs)
Sets Builder.domSettleTimeoutMs to an arbitrary JSON value.
You should usually call Builder.domSettleTimeoutMs with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
experimental
final SessionStartParams.Body.Builder experimental(Boolean experimental)
-
experimental
final SessionStartParams.Body.Builder experimental(JsonField<Boolean> experimental)
Sets Builder.experimental to an arbitrary JSON value.
You should usually call Builder.experimental with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
selfHeal
final SessionStartParams.Body.Builder selfHeal(Boolean selfHeal)
Enable self-healing for failed actions
-
selfHeal
final SessionStartParams.Body.Builder selfHeal(JsonField<Boolean> selfHeal)
Sets Builder.selfHeal to an arbitrary JSON value.
You should usually call Builder.selfHeal with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
systemPrompt
final SessionStartParams.Body.Builder systemPrompt(String systemPrompt)
Custom system prompt for AI operations
-
systemPrompt
final SessionStartParams.Body.Builder systemPrompt(JsonField<String> systemPrompt)
Sets Builder.systemPrompt to an arbitrary JSON value.
You should usually call Builder.systemPrompt with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
verbose
final SessionStartParams.Body.Builder verbose(SessionStartParams.Verbose verbose)
Logging verbosity level (0=quiet, 1=normal, 2=debug)
-
verbose
final SessionStartParams.Body.Builder verbose(JsonField<SessionStartParams.Verbose> verbose)
Sets Builder.verbose to an arbitrary JSON value.
You should usually call Builder.verbose with a well-typed Verbose value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
waitForCaptchaSolves
final SessionStartParams.Body.Builder waitForCaptchaSolves(Boolean waitForCaptchaSolves)
Wait for captcha solves (deprecated, v2 only)
-
waitForCaptchaSolves
final SessionStartParams.Body.Builder waitForCaptchaSolves(JsonField<Boolean> waitForCaptchaSolves)
Sets Builder.waitForCaptchaSolves to an arbitrary JSON value.
You should usually call Builder.waitForCaptchaSolves with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SessionStartParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionStartParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionStartParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionStartParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionStartParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionStartParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.modelName()
-
-
-
-