web_storage
Read, set, remove, or clear a tab's localStorage and sessionStorage values, with secret-like keys masked unless explicitly revealed.
Instructions
localStorage / sessionStorage of the page in a tab. get: one key, or every key; set, remove, clear. Values under secret-looking keys and token-shaped values are masked unless reveal_values.
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": "web_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| kind | No | Default: local. | |
| tabId | No | Tab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session. | |
| value | No | ||
| action | No | Default: get. | |
| reveal_values | No | Show secrets (cookie values, tokens, passwords) instead of masking them. They end up in the transcript; use only when the value itself is needed. |