inspect
Retrieve page details, DOM structure, accessibility tree, element specifics, or network traffic from the current page by specifying the target type and optional selectors or filters.
Instructions
Inspect the current page. Use target to choose what to inspect: page (url/title/meta), dom (HTML structure), a11y (accessibility tree), element (single element detail, requires selector), network (captured traffic — auto-starts capture on first call, dumps on subsequent). Default: page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | What to inspect | page |
| selector | No | CSS selector (required for target=element, optional for target=dom to scope) | |
| bodies | No | Include response bodies (target=network only) | |
| url_filter | No | Filter network entries by URL substring (target=network only) |