Read or set the page's web storage
qa_storageRead or write a web app's localStorage and sessionStorage to flip feature flags, expire tokens, or verify what the app persisted. Reads are free; set, remove, and clear writes require Agent control consent.
Instructions
Read and write the app's own localStorage / sessionStorage — flip a feature flag, expire a token to test the re-auth path, or prove what the app actually persisted after a save. Without op (or with op:'list'/'get') it READS and is free like every other read on this bridge; op:'set'|'remove'|'clear' WRITES and needs the Agent control consent, because changing a stored token or flag changes what the app does just as surely as clicking does. Closed vocabulary — it executes nothing you supply, it names a key. Listing truncates long values at 300 chars; ask for one key by name to get it whole.
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": "qa_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Default 'list' (or 'get' when a key is given) | |
| key | No | The key to read, set or remove | |
| area | No | Which store (default 'local') | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab | |
| value | No | The value, for op:'set' |