Skip to content

web_waitForUrl

Wait until the current page’s URL matches the given regex pattern. Returns the matched URL. Use after web_navigate or web_click when the navigation is async and the next step depends on the final URL (e.g. waiting for a post-login redirect to settle).

Source

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

Contract

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

Input schema

Required parameters

  • patternString Java regex pattern the URL must match (e.g. “.(dashboard|home|orders).”).

Optional parameters

  • timeoutMsInteger Maximum time to wait in milliseconds. Defaults to 30000ms.

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.