camoufox-playwright-mcp
v0.1.6The Playwright MCP, on Camoufox.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_resize Resize browser window
Resize the browser window
| Parameter | Type | Description |
|---|---|---|
height * | integer | |
width * | integer | |
_meta |
browser_close Close browser
Close the page
| Parameter | Type | Description |
|---|---|---|
_meta |
browser_console_messages Get console messages
Returns all console messages
| Parameter | Type | Description |
|---|---|---|
_meta | ||
all | boolean | |
filename | ||
level | string |
browser_handle_dialog Handle a dialog
Handle a dialog
| Parameter | Type | Description |
|---|---|---|
accept * | boolean | |
_meta | ||
promptText |
browser_evaluate Evaluate JavaScript
Evaluate JavaScript expression on page or element
| Parameter | Type | Description |
|---|---|---|
function * | string | |
_meta | ||
element | ||
filename | ||
target |
browser_file_upload Upload files
Upload one or multiple files
| Parameter | Type | Description |
|---|---|---|
_meta | ||
paths |
browser_drop Drop files or data onto an element
Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.
| Parameter | Type | Description |
|---|---|---|
target * | string | |
_meta | ||
data | ||
element | ||
paths |
browser_find Find in page snapshot
Search the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.
| Parameter | Type | Description |
|---|---|---|
_meta | ||
regex | ||
text |
browser_fill_form Fill form
Fill multiple form fields
| Parameter | Type | Description |
|---|---|---|
fields * | array | |
_meta |
browser_press_key Press a key
Press a key on the keyboard
| Parameter | Type | Description |
|---|---|---|
key * | string | |
_meta |
browser_type Type text
Type text into editable element
| Parameter | Type | Description |
|---|---|---|
target * | string | |
text * | string | |
_meta | ||
element | ||
slowly | boolean | |
submit | boolean |
browser_network_requests List network requests
Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.
| Parameter | Type | Description |
|---|---|---|
_meta | ||
filename | Filename to save the network requests to. If not provided, requests are returned as text. | |
filter | Only return requests whose URL matches this regexp (e.g. "/api/.*user"). | |
static | boolean | Whether to include successful static resources like images, fonts, scripts, etc. Defaults to false. |
browser_network_request Show network request details
Returns full details (headers and body) of a single network request, or a single part if `part` is set. Use the number from browser_network_requests.
| Parameter | Type | Description |
|---|---|---|
index * | integer | 1-based index of the request, as printed by browser_network_requests. |
_meta | ||
filename | Filename to save the result to. If not provided, output is returned as text. | |
part | Return only this part of the request. Omit to return full details. |
browser_run_code_unsafe Run Playwright code (unsafe)
Run a Python Playwright code snippet. Unsafe: executes arbitrary Python in the Playwright server process with normal builtins/imports and is RCE-equivalent.
| Parameter | Type | Description |
|---|---|---|
_meta | ||
code | Python Playwright code to execute. It may define an async function or provide statements that run with page in scope. | |
filename | Load code from the specified file. If both code and filename are provided, code will be ignored. |
browser_take_screenshot Take a screenshot
Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.
| Parameter | Type | Description |
|---|---|---|
_meta | ||
element | ||
filename | ||
fullPage | ||
scale | string | |
target | ||
type | string |
browser_snapshot Page snapshot
Capture accessibility snapshot of the current page, this is better than screenshot
| Parameter | Type | Description |
|---|---|---|
_meta | ||
boxes | ||
depth | ||
filename | ||
target |
browser_click Click
Perform click on a web page
| Parameter | Type | Description |
|---|---|---|
target * | string | |
_meta | ||
button | ||
doubleClick | boolean | |
element | ||
modifiers |
browser_select_option Select option
Select an option in a dropdown
| Parameter | Type | Description |
|---|---|---|
target * | string | |
values * | array | |
_meta | ||
element |
browser_hover Hover mouse
Hover over element on page
| Parameter | Type | Description |
|---|---|---|
target * | string | |
_meta | ||
element |
browser_drag Drag mouse
Perform drag and drop between two elements
| Parameter | Type | Description |
|---|---|---|
endTarget * | string | |
startTarget * | string | |
_meta | ||
endElement | ||
startElement |
browser_tabs Manage tabs
List, create, close, or select a browser tab.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
_meta | ||
index | ||
url |
browser_wait_for Wait for
Wait for text to appear or disappear or a specified time to pass
| Parameter | Type | Description |
|---|---|---|
_meta | ||
text | ||
textGone | ||
time |