Inspect Web Page
inspect_web_pagePassively capture a page's DOM, accessibility, scripts, network and console metadata, workers, and storage inventory through CDP as evidence, without evaluating JavaScript, navigating, clicking, or mutating the page.
Instructions
Passively inspect one selected page target through CDP without evaluating JavaScript, navigating, clicking, closing, or mutating the page. If no origin filter is supplied, capture is scoped to the target's current origin. Returns DOM structure, accessibility, scripts, resources, attach-window network and console metadata, workers, and redacted storage inventory as Evidence.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_id": "TARGET_ID_FROM_LIST_BROWSER_TARGETS",
"cdp_endpoint": "http://127.0.0.1:9222"
},
"name": "inspect_web_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | Exact CDP target identifier selected from the endpoint's target listing. | |
| cdp_endpoint | Yes | Literal loopback Chrome DevTools Protocol endpoint. | |
| observation_ms | No | ||
| allowed_origins | No | ||
| include_console_text | No | Whether to include console text in the result. | |
| include_storage_keys | No | Whether to include storage keys in the result. | |
| include_script_sources | No | Whether to include script sources in the result. | |
| include_json_body_shapes | No | Whether to include json body shapes in the result. | |
| include_websocket_shapes | No | Whether to include websocket shapes in the result. | |
| include_accessibility_text | No | Whether to include accessibility text in the result. | |
| include_storage_fingerprints | No | Whether to include storage fingerprints in the result. |