browser_get_storage
Read and return all key-value pairs from localStorage or sessionStorage, or retrieve a single value by key. Useful for accessing client-side state like auth tokens and feature flags.
Instructions
Read from localStorage or sessionStorage.
Returns all key→value pairs when no key is given, or {key: value} for a single key (value is null if the key does not exist).
Useful for inspecting auth tokens, cached API responses, feature flags, or any client-side state stored in web storage rather than cookies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Specific key to read. Empty = return all entries as a dict. | |
| storage | No | 'local' for localStorage (default) or 'session' for sessionStorage | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||