MCP reference
Capture
Capture — MCP tools exposed to agents.
9 tools in this group.
browser_highlight
Highlight an element with a red outline for 3 seconds. Useful for visual debugging.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
selector | string | yes | CSS selector or @ref for the element to highlight |
browser_pdf
Save the current page as a PDF file
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
filename | string | no | Output filename for the PDF (e.g., page.pdf) |
browser_record_start
Start a browser recording (screenshots and/or HTML snapshots). Output is Playwright trace viewer compatible.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
bidi | boolean | no | false | Record raw BiDi commands in the recording (default: false) |
format | string | no | "jpeg" | Screenshot format: "jpeg" or "png" (default: "jpeg") (one of: jpeg, png) |
name | string | no | Name for the recording (default: "record") | |
quality | number | no | 0.5 | JPEG quality 0.0-1.0 (default: 0.5, ignored for png) |
screenshots | boolean | no | true | Capture screenshots after each action (default: true) |
snapshots | boolean | no | false | Capture HTML snapshots (default: false) |
sources | boolean | no | false | Include source information (default: false) |
title | string | no | Title shown in trace viewer (defaults to name) |
browser_record_start_chunk
Start a new chunk within the current recording (for splitting long recordings)
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | no | Name for the chunk | |
title | string | no | Title shown in trace viewer (defaults to name) |
browser_record_start_group
Start a named group in the recording (groups nest actions in the trace viewer)
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | yes | Name for the group |
browser_record_stop
Stop recording and save to a Playwright-compatible trace ZIP file
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | no | Output file path (default: record.zip) |
browser_record_stop_chunk
Package the current recording chunk into a ZIP file (recording remains active)
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | no | Output file path (default: chunk.zip) |
browser_record_stop_group
End the current recording group
No parameters.
browser_screenshot
Capture a screenshot of the current page
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
annotate | boolean | no | false | Annotate interactive elements with numbered labels (default: false) |
filename | string | no | Optional filename to save the screenshot (e.g., screenshot.png) | |
fullPage | boolean | no | false | Capture the full page (entire document) instead of just the viewport (default: false) |