browser_clear_local_storage
Clear all localStorage entries in the current page context to remove stored data and prevent stale state. Pass the session ID from browser_navigate.
Instructions
Delete every localStorage entry in the current page context.
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": {
"session_id": "<session_id>"
},
"name": "browser_clear_local_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID returned by browser_navigate |