screenshot
Capture the active page, full page, or a specific element by selector or snapshot ref; enable annotation to overlay temporary snapshot ref labels for precise inspection.
Instructions
Capture a screenshot of the active page, full page, or a specific element (by selector or snapshot ref). Set annotate=True to temporarily overlay snapshot ref labels (e0, e1, ...).
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 |
|---|---|---|---|
| ref | No | ||
| tab | No | ||
| annotate | No | ||
| selector | No | ||
| full_page | No | ||
| save_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |