inspect_page
Inspect webpage structure, metadata, and content. Choose basic static fetch for speed or full headless browser for DOM and accessibility extraction.
Instructions
Inspect a webpage's structure, metadata, and content. Use for understanding what's on a page without visual analysis. Basic mode uses static fetch (fast, no browser). Full mode uses headless browser for DOM/accessibility/element extraction. Does NOT invoke the vision model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to inspect. Must be http:// or https://. | |
| detail | No | basic: static fetch + readability (fast, no browser). full: headless browser + DOM extraction (slower, more data). | basic |
| viewport | No | Viewport dimensions for full mode. | |
| wait_until | No | When to consider the page loaded (full mode only). | load |
| include_a11y_tree | No | Include compact accessibility tree (full mode only). | |
| include_screenshot | No | Take a viewport screenshot and save it (full mode only). | |
| max_text_length | No | Maximum characters for extracted text. | |
| max_elements | No | Maximum elements in the element map (full mode). | |
| min_bbox_area | No | Minimum bounding box area in px² for elements (full mode). | |
| include_hidden | No | Include hidden elements in the element map (full mode). |