capture_reference_bundle
Capture a URL with a real browser to gather runtime HTML, screenshots, DOM/style summaries, assets, network/HAR data, and responsive breakpoints for page rebuild or verification.
Instructions
Capture evidence for a URL with a real browser: runtime HTML, full-page screenshots, DOM and computed-style summaries, assets, network/HAR metadata, interactions, and optional desktop/tablet/mobile breakpoints. With output_dir and capture_html it also writes an offline HTML snapshot. Use when you will build or verify a page yourself.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "capture_reference_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of the page to inspect, capture, or clone. | |
| output_dir | No | Directory to write capture artifacts, generated files, and reports into; created if missing. | |
| capture_html | No | Include the rendered runtime HTML in the capture. | |
| license_text | No | License or permission text that allows reusing the page, from the user or the site; informs the reuse/rebuild policy. | |
| wait_seconds | No | Upper bound in seconds for each browser readiness wait (load, network quiet, lazy-load scroll); capture continues as soon as the page settles. | |
| user_data_dir | No | Path to an existing Chrome profile directory, to capture a page behind a login the user owns. Omit for a clean session. | |
| source_signals | No | Extra hints about the page's origin, e.g. ["framer", "spline", "export"]; merged with signals detected from the page. | |
| viewport_width | No | Primary browser viewport width in CSS pixels (default 1440). | |
| exact_requested | No | True (default) when the user wants an exact, faithful clone; false when an approximate rebuild is acceptable. | |
| timeout_seconds | No | Timeout in seconds for the static HTTP fetch of the page. | |
| viewport_height | No | Primary browser viewport height in CSS pixels (default 1200). | |
| capture_screenshot | No | Take a full-page PNG screenshot (needed for visual verification). | |
| storage_state_path | No | Path to a Playwright storage-state JSON (cookies, localStorage) to load before capture, for pages behind a login the user owns. | |
| breakpoint_profiles | No | Extra viewports to capture and verify: desktop (1440x1200), tablet (768x1024), mobile (390x844). Example: ["tablet", "mobile"]. | |
| include_runtime_trace | No | Launch a real browser for runtime capture (default true). False limits the result to static HTML inspection. | |
| storage_state_output_path | No | Path to write the browser storage state after capture, so the session can be reused. |