页面存储
browser_storageRead, write, remove, or clear localStorage and sessionStorage for the active page origin, letting you inspect, set, or wipe stored keys and values per tab.
Instructions
Read / write / remove / clear localStorage or sessionStorage of the active page origin.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "browser_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Storage key (get without key = list all entries) | |
| kind | No | localStorage (default) or sessionStorage | |
| tabId | No | Tab id (default: active tab) | |
| value | No | (set) Value to store | |
| action | Yes | Operation (get without key = list all) |