Create a full replication kit
create_replication_kitCaptures a complete website replication kit in one pass—desktop and mobile screenshots, assets, design tokens, layout trees, and a replication guide—into a local folder.
Instructions
One-shot capture of everything needed to replicate a website, written to a local folder: desktop + mobile screenshots, downloaded assets with manifest, design.json (tokens/colors/typography), layout.json (desktop + mobile trees), animations.json, and a REPLICATE.md guide. Loads the page once, so it is much faster than calling the individual tools separately.
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 |