> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Invoke Browserbase function

> Start an asynchronous Browserbase Function invocation.

`browserbase.invokeFunction` starts an asynchronous Browserbase Function invocation. Inputs accept literal values or compatible signals. An optional second argument `{ account }` selects a named Browserbase binding.

## Example

```ts theme={null}
import { automation, onInvocation } from "automate.ax"
import { browserbase } from "automate.ax/browserbase"

export default automation("Invoke Browserbase function", () => {
  onInvocation()
  browserbase.invokeFunction({
    functionId: "00000000-0000-4000-8000-000000000001",
    params: { query: "release notes" },
  })
})
```

## Inputs

| Input                 | Type                   | Required | Default          | Description                                                                               |
| --------------------- | ---------------------- | -------- | ---------------- | ----------------------------------------------------------------------------------------- |
| `functionId`          | UUID                   | Yes      | —                | Function ID.                                                                              |
| `params`              | `Record<string, JSON>` | No       | None             | Function parameters.                                                                      |
| `sessionCreateParams` | `object`               | No       | Version defaults | Session overrides including browser, proxy, metadata, and 60–900 second timeout settings. |

## Output

Returns the accepted invocation with status, version, session, and timestamps.

Invocation is asynchronous and not replay-safe. Poll `getInvocation`.
