write_storage
Saves key-value entries into localStorage or sessionStorage for the active tab's origin and logs each to the changelog for visibility.
Instructions
Write entries into localStorage or sessionStorage of the active tab's origin. Params: area (required), entries ([{key, value}] as JSON-serializable strings). Every write is appended to the sidebar changelog so the user sees it.
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": {
"area": "<area>",
"entries": "<entries>"
},
"name": "write_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | ||
| entries | Yes |