storage
Get, set, remove, clear, or list keys in browser localStorage and sessionStorage for a specific tab, with dry-run preview for destructive actions.
Instructions
Manage browser localStorage and sessionStorage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID | |
| storageType | Yes | local or session storage | |
| action | Yes | Action to perform | |
| key | No | Storage key | |
| value | No | Value to store (string) | |
| dryRun | No | Preview-only mode for destructive actions (remove, clear). When true, returns counts and a sample of keys that would be deleted without mutating any state. Default: false. |