Skip to content

web_getStorageState

Returns the current browser context’s storage state (cookies + per-origin localStorage) as a JSON string in Playwright’s standard format. Callers typically persist this to disk so a later session can be replayed via web_applyCookies instead of running a full login flow.

Source

  • Kind: class-backed
  • Class: xyz.block.trailblaze.playwright.tools.PlaywrightNativeGetStorageStateTool

Contract

  • Visible to LLM: yes (surface_to_llm: true)
  • Recordable: yes (is_recordable: true)
  • Host-only: no (requires_host: false)

Input schema

(no parameters)

Output

Returns: string (opaque text content)

Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.