browserbase
v1.0.4Create and control browser sessions for web automation, testing, and AI agent tasks
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_context Create Context
Creates a new browser context within a specified project, enabling isolated session management and configuration for automated browsing tasks.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The unique identifier of the project under which the context will be created. Locatable in the Browserbase account Settings page. |
get_context Get Context
Retrieves a specific context by its unique identifier. Returns the full details of the requested context object.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the context to retrieve. |
update_context Update Context
Updates an existing context by its unique identifier. Use this to modify the properties or configuration of a previously created context.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the context to update. |
upload_extension Upload Extension
Upload an extension package to the system, making it available for installation and use. Accepts a binary file representing the extension bundle.
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded file content for upload. The binary file containing the extension package to be uploaded. |
get_extension Get Extension
Retrieves detailed information about a specific extension by its unique identifier. Use this to inspect extension configuration, status, or metadata.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the extension to retrieve. |
delete_extension Delete Extension
Permanently deletes a specific extension by its unique identifier. This action is irreversible and removes the extension and its associated data.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the extension to delete. |
list_projects List Projects
Retrieves a list of all projects accessible to the authenticated user. Use this to discover available projects and their associated metadata.
get_project Get Project
Retrieves detailed information about a specific project by its unique identifier. Use this to fetch project metadata, status, and configuration.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the project to retrieve. |
get_project_usage Get Project Usage
Retrieves usage statistics and consumption metrics for a specific project. Useful for monitoring resource utilization and tracking project activity over time.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the project whose usage data you want to retrieve. |
list_sessions List Sessions
Retrieves a list of sessions, optionally filtered by their current status. Useful for monitoring active, completed, or failed sessions.
| Parameter | Type | Description |
|---|---|---|
status | string | Filters the returned sessions by their current lifecycle status. Accepted values are RUNNING (active), ERROR (failed), TIMED_OUT (expired), or COMPLETED (finished successfully). |
create_session Create Session
Creates a new browser session within a specified project, with configurable settings for fingerprinting, proxies, recording, and session lifecycle management.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of an existing browser context to associate with this session, enabling context persistence and reuse. |
projectId * | string | The unique identifier of the project under which this session will be created. Found in your Browserbase account Settings. |
blockAds | boolean | Whether to enable ad blocking within the browser session. Defaults to false. |
extensionId | string | The ID of a previously uploaded browser extension to load into this session's browser environment. |
fingerprint | object | Browser fingerprint configuration to control how the browser identifies itself, used for stealth and anti-detection purposes. |
keepAlive | boolean | When true, keeps the session alive after client disconnections rather than terminating it, allowing reconnection. Available on the Startup plan only. |
logSession | boolean | Whether to capture and store session logs for debugging and auditing purposes. Defaults to true. |
persist | boolean | Whether to persist the browser context (cookies, storage, etc.) after the session ends, allowing reuse in future sessions. Defaults to false. |
proxies | Proxy configuration for the session. Pass true to use the default proxy, or provide an array of proxy configuration objects for custom routing. | |
recordSession | boolean | Whether to record the browser session for later playback and debugging. Defaults to true. |
region | string | The geographic region in which to run the browser session, affecting latency and geo-targeted content. |
solveCaptchas | boolean | Whether to enable automatic captcha solving during the session. Defaults to true. |
timeout | integer | Maximum duration in seconds before the session is automatically terminated. Must be between 60 and 21600 seconds. Defaults to the project's configured default timeout. |
viewport | string | Viewport dimensions in 'WIDTHxHEIGHT' format (e.g., '1920x1080') |
get_session Get Session
Retrieves the details of a specific session by its unique identifier. Useful for checking session status, metadata, or associated activity.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the session to retrieve. |
release_session Release Session
Updates a session's status to request an early release, signaling that the session has completed. Use this before the session's timeout to avoid incurring additional charges.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the session to update. |
projectId * | string | The Project ID associated with the session. Can be found in the Browserbase Settings page. |
status * | string | The desired status update for the session. Set to REQUEST_RELEASE to signal that the session is complete and should be released before its scheduled timeout. |
get_session_debug_urls Get Session Debug URLs
Retrieves live debug URLs for an active browser session, enabling real-time inspection and monitoring of the session's state.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the session for which to retrieve debug URLs. |
list_session_downloads List Session Downloads
Retrieves all downloads associated with a specific session. Useful for reviewing files or resources that were downloaded during a given session.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the session whose downloads you want to retrieve. |
get_session_logs Get Session Logs
Retrieves the log output for a specific session, useful for debugging, auditing, or monitoring session activity.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the session whose logs you want to retrieve. |
get_session_recording Get Session Recording
Retrieves the recording associated with a specific session. Returns the recording data or media for playback or download.
| Parameter | Type | Description |
|---|---|---|
id * | string | The unique identifier of the session whose recording you want to retrieve. |
upload_session_file Upload Session File
Uploads a file to an existing session, attaching it as a resource for use within that session's context.
| Parameter | Type | Description |
|---|---|---|
file * | string | Base64-encoded file content for upload. The binary file content to upload to the session. |
id * | string | The unique identifier of the session to which the file will be uploaded. |