set_storage
Writes or clears localStorage and sessionStorage entries in a running Electron app, enabling quick state setup for debugging and testing.
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. |