observe
Reads the current screen as an accessibility tree, returning plain text with refs, roles, names, values, states, and files. Use it first to inspect browser or desktop state before acting.
Instructions
Read the current screen as one accessibility tree and return it as text.
Call this first, and again whenever you need fresh refs. The result starts with a SURFACE line:
'browser' means the tree is the web page (refs b1, b2, ...); 'desktop' means it is the native window that has
keyboard focus such as Explorer, Calculator, a Save dialog or a Windows prompt (refs d1, d2, ...). A Chrome dialog
drawn on top of the page (print preview, permission bubble) is included with d refs. Each line shows the ref, role,
accessible name, value and state of an element, followed by a visible-text excerpt and the files downloaded so far.
Nothing is clicked or changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_url | No | Optional URL to open in the agent's browser before observing, e.g. 'https://example.com' or a file:// page. Leave empty to observe the current state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |