browser_clear_storage
Remove a specific key or clear all data from localStorage or sessionStorage in a web browser.
Instructions
Remove one key or clear all entries from localStorage or sessionStorage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_clear_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Specific key to remove. Empty = clear all entries. | |
| storage | No | 'local' for localStorage (default) or 'session' for sessionStorage | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |