web_applyCookies¶
Add cookies to the current browser context, e.g. to restore a session saved with web_getStorageState. Navigate afterwards to use them.
Source¶
- Kind: class-backed
- Class:
xyz.block.trailblaze.playwright.tools.PlaywrightNativeApplyCookiesTool
Contract¶
- Visible to LLM: yes (
surface_to_llm: true) - Recordable: yes (
is_recordable: true) - Host-only: no (
requires_host: false)
Input schema¶
Optional parameters¶
cookiesJson—StringJSON string: a Playwright storageState object (itscookiesfield is read) or a bare cookie array, e.g. [{“name”:”sid”,”value”:”abc”,”domain”:”.example.com”,”path”:”/”}].
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.