Observe Webpage State & Interactive Elements
browser_observeInspect the current webpage DOM and return a compact indexed summary of visible headings, untrusted text, and interactive elements to guide browser actions.
Instructions
Inspect the current webpage DOM and return a compact indexed summary of visible headings, untrusted text, and interactive elements (buttons, links, inputs, selects, checkboxes, radios) for browser_action.
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": "browser_observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | Optional task ID for execution tracking and cancellation | |
| session_id | No | Optional target browser session ID (defaults to active default session) | |
| maxElements | No | Maximum number of interactive elements to index |