screenshot
Capture a web page as a PNG, either full-page or viewport-only, with optimized or full-resolution output for LLM processing and cinematic production.
Instructions
[Agent Browser] Take a screenshot (PNG).
Args: name: Optional filename (without extension). Defaults to "screenshot". full_page: If True, captures full scrollable page. If False, viewport only. quality: Screenshot quality mode: - "optimized" (default): Resizes large images (>2000px) for faster LLM processing - "full": Original resolution, no compression. Use for video/cinematic production.
Returns the file path in data.path. Screenshots are saved to ./screenshots/. Use quality="full" when screenshots will be used for Ken Burns videos or other cinematic production where image quality matters.
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 |
|---|---|---|---|
| name | No | ||
| quality | No | optimized | |
| full_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |