Skip to content

web_snapshot

Take a snapshot of the current page state and save it with the provided screen name. This captures a screenshot and the page’s accessibility tree for logging and debugging.

Source

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

Contract

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

Input schema

Required parameters

  • screenNameString Name for the screen being captured (e.g., ‘login_page’, ‘dashboard’).

Optional parameters

  • reasoningString

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.