oc_observe
Obtain a deterministic numbered list of actionable elements (click, fill, select, hover, focus) on a page. Use returned refs to directly interact without full-page comprehension.
Instructions
Deterministic, numbered list of actionable elements on the page. When to use: replace the read_page → query_dom → inspect → interact pattern when you already know which kind of action you want to take (click / fill / select / hover / focus). Returns refs that plug directly into interact. When NOT to use: full-page comprehension (use read_page), structural CSS diagnostics (use read_page mode=css), or natural-language replay (use act). No LLM, no outbound network — pure AX-tree traversal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tabId": "<tabId>"
},
"name": "oc_observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Hard cap on returned entries (default 200, max 1000) | |
| scope | No | 'viewport' (default) restricts to the current viewport; 'document' returns all actionable nodes | |
| tabId | Yes | REQUIRED Tab ID to observe | |
| actions | No | Filter to nodes offering at least one of these action verbs | |
| includeHidden | No | Include disabled / aria-hidden / display:none nodes (default false) |