Development
Generate high-quality website screenshots with customizable options using headless browser
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/website-screenshot' \
-H 'Content-Type: application/json' \
-d '{"url":"https://example.com","width":1200,"height":800,"format":"png","quality":80,"fullPage":false,"waitTime":1000,"hideElements":".ads, .popup, .cookie-banner (comma-separated)","darkMode":false,"mobile":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/website-screenshot| Name | Type | Required | Description |
|---|---|---|---|
| url | text | Yes | — |
| width | number | No | — |
| height | number | No | — |
| format | select | No | — |
| quality | number | No | — |
| fullPage | checkbox |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-website-screenshot": {
"name": "website-screenshot",
"description": "Generate high-quality website screenshots with customizable options using headless browser",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=website-screenshot",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "website-screenshot",
"arguments": {
"url": "https://example.com",
"width": 1200,
"height": 800,
"format": "png",
"quality": 80,
"fullPage": false,
"waitTime": 1000,
"hideElements": ".ads, .popup, .cookie-banner (comma-separated)",
"darkMode": false,
"mobile": false
}
}
}Questions or issues? Contact [email protected]
| No |
| — |
| waitTime | number | No | — |
| hideElements | textarea | No | — |
| darkMode | checkbox | No | — |
| mobile | checkbox | No | — |
File result
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}