Page Snapshot
snapshotCaptures page title, URL, visible text, interactive elements, console errors, and network failures to inspect page state for QA, scraping, and diagnostics.
Instructions
Return title, URL, capped visible text, interactive elements, console errors, and network failures.
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": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page id. Defaults to the active page. | |
| maxElements | No | ||
| maxTextChars | No | ||
| telemetryLimit | No |