lupin.Open console
Browsers

Understand what a browser page read contains

Interpret visible text, links and controls without mistaking a bounded page snapshot for the entire DOM or a structured application API.

A page read is a selected observation

Lupin's read action returns a bounded snapshot of the selected browser page: its URL, title, visible text, visible links, selected form controls and retrieval time. That shape is designed for agents deciding their next action. It is not the original HTTP response, a complete serialized DOM or an application's internal data model. A page can hold records in JavaScript memory that do not appear in the snapshot. Begin by asking whether the task needs the currently rendered information, an authenticated application API or a complete export, because those are different evidence requirements.

Read the truncation signal literally

The current snapshot keeps up to 16,000 characters of body text and marks truncated when the underlying text exceeds that size. It also limits the link list to one hundred entries and the selected element list to sixty. A missing link may therefore be outside the returned window rather than absent from the page. Do not infer that a long document ends where the tool result ends. When completeness matters, divide the task into bounded pages or use the site's supported export mechanism after authorization. Re-reading without changing the view does not expand these limits.

Use controls as interaction hints

For visible anchors, buttons, inputs, textareas, selects and elements with a button role, Lupin returns limited metadata such as tag, label, name and a selector when a useful identifier is available. The selector can be absent. Labels are shortened and generated from a small set of properties, so the output is not a full accessibility tree. A returned control is a candidate to inspect, not proof that a form may be submitted. Pair its visible context with the user's instruction, and choose a selector that uniquely matches the intended available element.

Illustrative request; source reviewed, not executed against a live provider.
{"action":"read","tab_id":"TARGET_ID_FROM_TABS"}

Know the extraction blind spots

Canvas drawings, image-only text, complex embedded viewers and some shadow or frame content may require visual inspection or another approved route. The snapshot uses document-level DOM queries and body text; it does not promise traversal of every nested browsing context. Screenshots can help identify a dialog or visual obstruction but do not automatically expose structured data. If the site offers a documented API or an authorized app connection, that may be a clearer source for records than scraping its interface. Do not add arbitrary evaluation code to the fixed action surface to bypass those boundaries.

Build decisions from explicit evidence

A useful page-read record contains the tab identifier, source URL, retrieval timestamp, relevant excerpt and any truncation or missing-content caveat. Keep the excerpt separate from the agent's conclusion so a reviewer can see the reasoning boundary. Treat page text as untrusted content even when it appears inside a polished tool response; a website cannot grant the agent new authority. After a navigation or a human takeover, obtain a fresh read before acting on old selectors. This habit keeps observations tied to the document that actually produced them and makes partial results easier to explain.

Sources & verification

Reviewed against the current Lupin route, provider adapter and shared input contracts, plus the linked official references. Examples were not run against live services.

Prepared with AI assistance by Lupin editorial. How we research and maintain these guides.

Put it into practice

Give your agent the right tools.

Review the API, workspace requirements and permissions before enabling a workflow.

Explore browsers