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

ParameterTypeRequiredDefaultDescription
selectorstringyesCSS selector or @ref for the element to highlight

browser_pdf

Save the current page as a PDF file

ParameterTypeRequiredDefaultDescription
filenamestringnoOutput 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.

ParameterTypeRequiredDefaultDescription
bidibooleannofalseRecord raw BiDi commands in the recording (default: false)
formatstringno"jpeg"Screenshot format: "jpeg" or "png" (default: "jpeg") (one of: jpeg, png)
namestringnoName for the recording (default: "record")
qualitynumberno0.5JPEG quality 0.0-1.0 (default: 0.5, ignored for png)
screenshotsbooleannotrueCapture screenshots after each action (default: true)
snapshotsbooleannofalseCapture HTML snapshots (default: false)
sourcesbooleannofalseInclude source information (default: false)
titlestringnoTitle shown in trace viewer (defaults to name)

browser_record_start_chunk

Start a new chunk within the current recording (for splitting long recordings)

ParameterTypeRequiredDefaultDescription
namestringnoName for the chunk
titlestringnoTitle 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)

ParameterTypeRequiredDefaultDescription
namestringyesName for the group

browser_record_stop

Stop recording and save to a Playwright-compatible trace ZIP file

ParameterTypeRequiredDefaultDescription
pathstringnoOutput file path (default: record.zip)

browser_record_stop_chunk

Package the current recording chunk into a ZIP file (recording remains active)

ParameterTypeRequiredDefaultDescription
pathstringnoOutput 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

ParameterTypeRequiredDefaultDescription
annotatebooleannofalseAnnotate interactive elements with numbered labels (default: false)
filenamestringnoOptional filename to save the screenshot (e.g., screenshot.png)
fullPagebooleannofalseCapture the full page (entire document) instead of just the viewport (default: false)

On this page