inspect
Extract targeted page state elements like headings, forms, and errors using a natural language query, avoiding full DOM loading.
Instructions
Extract focused page state by query. Returns headings, form fields, errors, tabs, and interactive counts scoped to the query intent.
When to use: Checking focused aspects of page state (forms, errors, tabs) without loading the full DOM. When NOT to use: Use read_page for full DOM/AX tree, or find to locate a specific element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to inspect (natural language) | |
| scope | No | Element scope. Default: visible | |
| tabId | Yes | Tab ID to inspect | |
| include_metrics | No | When true, append approximate returned size/token metrics to text output. Default: false. |