browser_storage
Manage localStorage, sessionStorage, and cookies for the current page: list keys with names, sizes, and flags without exposing values; set, remove, clear, or retrieve a specific value when needed.
Instructions
localStorage, sessionStorage or cookies for this page. Reads return names, sizes and flags — never values, because a value is usually a token and a token in context is a leak. Use action "get-value" for one key when you genuinely need its content, and "set"/"remove"/"clear" to change state.
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_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key name, or cookie name | |
| value | No | Value for set — never echoed back | |
| action | No | get=list, get-value=one key's content, clear=empty the store | |
| domain | No | Cookie domain (defaults to the current page) | |
| target | No | Which store (default local) |