storage
Read, write, or remove data in browser localStorage or sessionStorage. Preview destructive changes with dry-run mode before executing.
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. |