Screenshots of a website
take_screenshotsCapture clean desktop, mobile, and full-page screenshots of a website by opening it in a headless browser, hiding cookie banners and floating boxes, and saving images plus a manifest.
Instructions
Opens a website in a headless browser, picks the pages worth showing (home, pricing, features and the like), hides cookie banners, chat bubbles and other floating boxes, and saves desktop, phone and whole-page screenshots in one folder. SCREENSHOTS.md is for people and agents, manifest.json for tools, sheet.png shows every page on one picture. Sizes: desktop is 1600x900 at 2x, mobile 360x640 at 3x, iphone 440x956 at 3x, full the whole page at 1x, mobile-full the whole phone page at 2x, or any WxH with an optional @scale (1270x760@2 is a Product Hunt gallery image). (easyscreenshotkit 0.1.1, on this machine.)
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": "take_screenshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pwa | No | Also save screenshots for a web app manifest in pwa/: each page's first screen at 1920x1080 and on a phone at 1080x1920, checked against Chrome's rules for its richer install dialog, with the manifest entries in pwa/manifest-screenshots.json. | |
| url | Yes | The website, like https://linear.app | |
| hide | No | CSS selectors of more elements to hide. | |
| lang | No | The site's version in this language, when it has one, like de. | |
| page | No | Pages to take too, like /pricing. | |
| clean | No | Set to false to take the pages as they come, banners and bubbles included. | |
| pages | No | How many pages, the home page included (default 5). | |
| sizes | No | Any of desktop, mobile, iphone, full, mobile-full or WxH, each with an optional @scale (default desktop, mobile and full). | |
| theme | No | The site's light or dark look, or both (default light). | |
| out_dir | No | Folder to save into, absolute or relative to /app. Default: easyscreenshotkit-{host}. | |
| wait_seconds | No | How long to wait for the result before returning a job_id to wait on. 45 is safe for clients that stop a tool call after 60 seconds. | |
| reduced_motion | No | Ask the site for its reduced-motion version. | |
| timeout_seconds | No | Give up after this many seconds (default 300). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | ||
| tool | Yes | ||
| files | No | ||
| folder | No | Where the kit saved its files. | |
| job_id | Yes | ||
| passed | No | For checks: whether the check passed. | |
| status | Yes | ||
| exit_code | No | ||
| last_line | No | What the kit was doing last. | |
| expires_at | No | When the download links stop working. | |
| next_action | No | ||
| elapsed_seconds | Yes |