browserbase

v1.0.4
com.mcparmory/browserbase Checked 2 days ago Published 6 months ago

Create 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.

ParameterTypeDescription
projectId *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
file *stringBase64-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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
statusstringFilters 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.

ParameterTypeDescription
id *stringThe unique identifier of an existing browser context to associate with this session, enabling context persistence and reuse.
projectId *stringThe unique identifier of the project under which this session will be created. Found in your Browserbase account Settings.
blockAdsbooleanWhether to enable ad blocking within the browser session. Defaults to false.
extensionIdstringThe ID of a previously uploaded browser extension to load into this session's browser environment.
fingerprintobjectBrowser fingerprint configuration to control how the browser identifies itself, used for stealth and anti-detection purposes.
keepAlivebooleanWhen true, keeps the session alive after client disconnections rather than terminating it, allowing reconnection. Available on the Startup plan only.
logSessionbooleanWhether to capture and store session logs for debugging and auditing purposes. Defaults to true.
persistbooleanWhether to persist the browser context (cookies, storage, etc.) after the session ends, allowing reuse in future sessions. Defaults to false.
proxiesProxy configuration for the session. Pass true to use the default proxy, or provide an array of proxy configuration objects for custom routing.
recordSessionbooleanWhether to record the browser session for later playback and debugging. Defaults to true.
regionstringThe geographic region in which to run the browser session, affecting latency and geo-targeted content.
solveCaptchasbooleanWhether to enable automatic captcha solving during the session. Defaults to true.
timeoutintegerMaximum duration in seconds before the session is automatically terminated. Must be between 60 and 21600 seconds. Defaults to the project's configured default timeout.
viewportstringViewport 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe unique identifier of the session to update.
projectId *stringThe Project ID associated with the session. Can be found in the Browserbase Settings page.
status *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
id *stringThe 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.

ParameterTypeDescription
file *stringBase64-encoded file content for upload. The binary file content to upload to the session.
id *stringThe unique identifier of the session to which the file will be uploaded.