Screenshot
screenshotCapture a viewport, full page, or single element as PNG and return it inline, with an optional path to save a copy.
Instructions
Capture the viewport, full page, or a single element as PNG. The image is returned inline; an optional path saves a copy under the artifact 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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Save path relative to the artifact directory. | |
| selector | No | Capture only this element. | |
| full_page | No |