browser_storage
Read or change browser storage of the page's origin. area: 'cookies' | 'local' (localStorage) | 'session' (sessionStorage). action: 'get' | 'set' | 'remove' | 'clear'. local/session: key (+ value for set); 'get' without key returns every entry. cookies: 'get' lists the cookies the page's URL (or url) would send — values of HttpOnly cookies are withheld; 'set' needs key (name) and value, optional url/domain+path, expires (unix seconds), secure, http_only, same_site (strict|lax|none); 'remove'/'clear' delete the cookie named key / all cookies, but ONLY those the current page's URL would send (its domain and path); pass domain explicitly to reach other sites' cookies.
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": {
"page_id": "<page_id>",
"area": "<area>",
"action": "<action>"
},
"name": "browser_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| url | No | ||
| area | Yes | ||
| path | No | ||
| value | No | ||
| action | Yes | ||
| domain | No | ||
| secure | No | ||
| expires | No | ||
| page_id | Yes | ||
| http_only | No | ||
| same_site | No | ||
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |