set_storage
Writes localStorage or sessionStorage entries for an Electron app, with an option to clear existing storage first.
Instructions
Write localStorage or sessionStorage entries (optionally clear first)
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": {
"entries": "<entries>"
},
"name": "set_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| clear | No | ||
| entries | Yes | ||
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |