Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | Yes | Your Gemini API key (required when using the default Gemini model) | |
| BROWSERBASE_API_KEY | Yes | Your Browserbase API key | |
| BROWSERBASE_PROJECT_ID | Yes | Your Browserbase project ID |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browserbase_session_create | Create or reuse a Browserbase browser session and set it as active. |
| browserbase_session_close | Close the current Browserbase session and reset the active context. |
| browserbase_stagehand_navigate | Navigate to a URL in the browser. Only use this tool with URLs you're confident will work and be up to date. Otherwise, use https://google.com as the starting point |
| browserbase_stagehand_act | Perform a single action on the page (e.g., click, type). |
| browserbase_stagehand_extract | Extract structured data or text from the current page using an instruction. |
| browserbase_stagehand_observe | Find interactive elements on the page from an instruction; optionally return an action. |
| browserbase_screenshot | Capture a full-page screenshot and return it (and save as a resource). |
| browserbase_stagehand_get_url | Return the current page URL (full URL with query/fragment). |