Open Agent Loops
API Reference

BrowserSnapshot

@open-agent-loops/core


Defined in: tools/builtin/builtin.types.ts:492

A structured view of the page after a browser action.

Remarks

Returned by every BrowserSession method so the model always sees the resulting page state — the browser analog of how each built-in file tool returns the slice it produced.

Properties

PropertyTypeDescriptionDefined in
elementsBrowserElement[]The interactive elements the model can target by ref.tools/builtin/builtin.types.ts:498
titlestringCurrent page title.tools/builtin/builtin.types.ts:496
urlstringCurrent page URL.tools/builtin/builtin.types.ts:494

On this page