browser_clear_cache
Clear browsing data including cookies, storage, and cache for the current origin or all sites to ensure a clean state before starting a session.
Instructions
Clear browsing state before a run that must start clean. scope "origin" clears the current origin's storage (cookies, local/sessionStorage, IndexedDB, CacheStorage, service workers). scope "all" ALSO wipes the profile-wide HTTP cache and ALL cookies — the default for a fresh (throwaway) session, but in attach mode that is the user's real profile, so there the default is "origin" and "all" must be asked for explicitly. Every step is time-bounded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | default: "all" for fresh sessions, "origin" for attach sessions | |
| sessionId | No |