Screenshot
screenshotCaptures a browser tab as JPEG base64 for vision-language model reasoning, with full-page and quality options.
Instructions
JPEG → base64 (q=65 cheap). For VLM visual reasoning. For text use extract_markdown.
Ex: screenshot('t0', full_page=True) → {"b64":"...","fmt":"jpeg","len":48201}
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 |
|---|---|---|---|
| tab_id | Yes | ||
| quality | No | ||
| full_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||