Read or write an extension private storage
browser_extension_storageRead, write, remove, or clear an extension's private key/value storage (browser.storage.local) via a background extension page; requires an extension page such as an options page.
Instructions
Read or write the private key/value storage of an extension (browser.storage.local) — where an extension keeps its own settings and lists. It works by opening one of the extension own pages in a background tab, running the storage call in that page context (the only place where the extension APIs exist), then closing the tab. MEASURED limitation: a page of the extension is required, so extensions without an options page cannot be reached this way.
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": {
"id": "<id>",
"action": "<action>"
},
"name": "browser_extension_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Extension id | |
| data | No | Object to write | |
| keys | No | Keys to read or remove (read defaults to all) | |
| action | Yes | What to do |