monitor_storage_events
Monitor localStorage and sessionStorage changes from other browser tabs. Use start, stop, or get actions to capture storage events across tabs of the same origin.
Instructions
Monitor localStorage and sessionStorage changes. IMPORTANT: Due to the Web Storage API spec, storage events only fire in OTHER tabs — same-tab changes are NOT captured. Start monitoring, get recorded events (from all tabs of same origin), or stop monitoring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Start monitoring, stop, or get recorded events | |
| storageType | No | Which storage type to monitor | both |
| tabId | No | Target tab ID (defaults to currently active tab) | |
| apiKey | No | API key for authentication if enabled |