Skip to content

Observability and state tools

Bounded observations

BrowserMesh maintains per-page bounded ring buffers. Reads remain explicitly addressed and follow the session queue.

ToolEvent types
browser_console_listconsole level and optional redacted text
browser_page_errors_listpage error and optional redacted text
browser_network_listrequest and response metadata
browser_failed_requests_listfailed-request metadata

All accept sessionId, pageId, optional timeoutMs, optional sinceEventId, and optional limit (maximum 200). Console and page-error tools also accept includeText (default false).

Results contain events, nextCursor, droppedCount, and gap. Event URLs remove credentials/fragments and redact sensitive query values. Headers, bodies, cookies, raw stacks, and console object serialization are excluded.

Persisted state

ToolInputOutput
browser_state_savesessionId, stateIdsafe state metadata
browser_state_listnonelogical IDs and creation times
browser_state_removestateIdremoved: true

Restore state by passing stateId to browser_session_create. BrowserMesh never returns state contents or accepts a caller-controlled path.

Saving is serialized with the live session. This makes the order deterministic:

text
navigate → fill → state_save → click

The stored state represents browser state at the accepted save position.

Released under the Apache License 2.0.