screenshot
Capture a browser session's current page as a PNG and return the image plus the file path where it was saved.
Instructions
Capture the session page as a PNG; returns the image and the file path it was saved to.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory. | |
| session | No | Browser session name (default "default"). Each session is its own browser and daemon. | |
| full_page | No | Capture the full scrollable page (--full-page). |