set_storage
Write a key-value pair to localStorage or sessionStorage in Safari, enabling direct manipulation of web storage for debugging or automation.
Instructions
Write a key-value pair 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": {
"key": "<key>",
"value": "<value>"
},
"name": "set_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Storage key. | |
| value | Yes | Value to store. | |
| storageType | No | Which storage to write to. Defaults to "localStorage". |