browserbase.updateAgent changes a reusable browser agent’s defaults. Inputs accept literal values or compatible signals. An optional second argument { account } selects a named Browserbase binding.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Change a reusable browser agent’s defaults.
browserbase.updateAgent changes a reusable browser agent’s defaults. Inputs accept literal values or compatible signals. An optional second argument { account } selects a named Browserbase binding.
import { automation, onInvocation } from "automate.ax"
import { browserbase } from "automate.ax/browserbase"
export default automation("Update Browserbase agent", () => {
onInvocation()
browserbase.updateAgent({
agentId: "agent-id",
systemPrompt: "Use official sources.",
})
})
| Input | Type | Required | Default | Description |
|---|---|---|---|---|
agentId | string | Yes | — | Browserbase agent ID. |
name | string | No | Unchanged | New name. |
systemPrompt | string | No | Unchanged | New prompt. |
resultSchema | Record<string, JSON> | No | Unchanged | New JSON Schema. |