screenshot_local_files
Capture screenshots of HTML files in a directory by specifying glob patterns and grid size for full-page or viewport snapshots.
Instructions
Take screenshots of local HTML files in a directory
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "screenshot_local_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Directory containing HTML files to screenshot (defaults to current directory) | |
| pattern | No | Glob pattern to match HTML files (default: "*.html") | |
| fullPage | No | Whether to capture full page or just viewport. Default: false | |
| gridSize | No | Size of grid (2 for 2x2, 4 for 4x4). Default: 2 |