screenshot
Capture a specified Chrome tab as PNG ImageContent with metadata, optionally saving to a safe output path and supporting full-page images.
Instructions
Return actual PNG ImageContent and metadata; optional safe output file. No focus/resize/scroll. Max 6M pixels, 8192px/side, 4 MiB.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tab_id": "<tab_id>"
},
"name": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mkdir | No | ||
| output | No | Prefer an absolute output path. | |
| tab_id | Yes | Exact stable tab_id; no implicit tab selection. | |
| timeout | No | Phase timeout in milliseconds (10000; download 120000). | |
| full_page | No | ||
| overwrite | No |