Create a full replication kit
create_replication_kitBuild a complete page replication kit: captures screenshots, assets, layout trees, animations, and a guide for any URL in one pass.
Instructions
Use this when you need a broad first-pass package for reproducing a complete page. Avoid it when you only need one component, one screenshot, or a quick design overview. Write screenshots, assets, design data, layout trees, animations, and a replication guide in one pass. Cost: heavy. Session: captures one URL at multiple viewport states. May write files when an output path is provided. Replaces these separate first-pass calls: analyze_site, capture_screenshot, extract_assets, extract_layout. Possible follow-ups if evidence is still missing: extract_responsive, extract_animations, capture_motion, compare_replica.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http:// or https:// URL to build the kit for. | |
| maxAssets | No | Maximum unique assets to download. | |
| outputDir | Yes | Absolute directory to write the kit into. | |
| timeoutMs | No | Navigation timeout in milliseconds. | |
| userAgent | No | Optional browser user-agent override. | |
| waitUntil | No | Page lifecycle event to await before extraction. | domcontentloaded |
| autoScroll | No | Scroll through the page before extraction to trigger lazy-rendered content. | |
| maxScrolls | No | Maximum viewport-sized scroll steps when autoScroll is enabled. | |
| maxElements | No | Maximum DOM elements to analyze. | |
| maxHeightPx | No | Full-page screenshots taller than this are clipped. | |
| maxSvgBytes | No | Skip inline SVGs larger than this. | |
| includeMobile | No | Also capture a mobile-viewport screenshot and layout tree. | |
| viewportWidth | No | Browser viewport width in CSS pixels. | |
| viewportHeight | No | Browser viewport height in CSS pixels. | |
| maxBytesPerAsset | No | Skip assets larger than this. | |
| allowPrivateNetwork | No | Allow localhost and private-network URLs. Enable only for trusted sites. | |
| mobileViewportWidth | No | Mobile capture width. | |
| mobileViewportHeight | No | Mobile capture height. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Replication-kit paths and summary; the preview is returned as MCP image content. | |
| guidance | Yes |