web_clone_offline_mirror
Clone a website into an offline-playable mirror with rewritten relative asset URLs and an injected mock API interceptor so client-side SPAs stay interactive without a network.
Instructions
Clones a website into an interactive 100% offline-playable mirror with relative asset URL rewrites and an injected mock API ServiceWorker/fetch interceptor so client-side SPAs remain interactive offline.
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": "web_clone_offline_mirror"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target website URL to mirror | |
| maxAssets | No | Maximum assets (CSS, JS, Fonts, Images) to download (default: 60) | |
| outputDir | No | Local directory to save offline mirror (default: ./offline_mirror) | |
| includeMockApi | No | Inject offline mock API interceptor for interactive SPA simulation (default: true) |