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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_get_storage"
}
}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 | |||