browser_set_storage
Sets a key-value pair in the browser's localStorage or sessionStorage, enabling direct manipulation of web storage for testing and automation.
Instructions
Write to localStorage or sessionStorage
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": {
"type": "<type>",
"key": "<key>",
"value": "<value>"
},
"name": "browser_set_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key | |
| type | Yes | Storage type | |
| value | Yes | Value |