Save a screenshot
screenshotSaves a PNG of the current page view or full page to a file and returns its path, enabling automated capture or archival without displaying the image.
Instructions
Saves a PNG of the view (or the whole page) to a file and answers with its path; shows you nothing.
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 |
|---|---|---|---|
| path | No | Where to save it (default: screenshots/ under the working folder). | |
| full_page | No |