Skip to content

web_currentUrl

Returns the current page’s URL as a plain string. Useful for asserting where a navigation ended up after redirects (e.g. detecting a bounce to /login when replaying an expired session).

Source

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

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.