Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port | 3000 |
| TIMEOUT | No | Default operation timeout (ms) | 30000 |
| HEADLESS | No | Run browser headless | true |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_tabs | List all open browser tabs with their IDs, URLs, and titles |
| new_tab | Open a new browser tab, optionally navigating to a URL. The new tab becomes active. |
| close_tab | Close a browser tab. If no tabId provided, closes the active tab. |
| switch_tab | Switch to a different tab, making it the active tab for subsequent operations. |
| navigate | Navigate to a URL in the browser |
| reload | Reload the current page |
| go_back | Navigate back in browser history |
| go_forward | Navigate forward in browser history |
| click | Click an element on the page |
| fill | Fill a text input or textarea with a value |
| select | Select option(s) from a dropdown/select element |
| hover | Hover over an element on the page |
| focus | Focus an element on the page |
| evaluate | Execute JavaScript code in the browser context and return the result |
| get_content | Get the HTML or text content of the page or a specific element |
| query_selector | Get information about an element matching a CSS selector |
| wait_for_selector | Wait for an element matching the selector to appear in the page |
| wait_for_navigation | Wait for the page to navigate to a new URL |
| wait | Wait for a specified number of milliseconds |
| screenshot | Capture a screenshot of the page or a specific element |
Generate a PDF of the current page | |
| get_cookies | Get cookies for the current page or specified URLs |
| set_cookies | Set cookies in the browser |
| delete_cookies | Delete cookies by name |
| keyboard | Press a key or key combination |
| mouse | Perform mouse actions at specific coordinates |
| scroll | Scroll the page or a specific element |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |