session_fixture
Save, restore, or list session fixtures capturing localStorage, sessionStorage, and cookies for the current origin to reuse logged-in states.
Instructions
Snapshot localStorage, sessionStorage and cookies of the current origin into a named fixture (a logged-in state, usually), restore one, or list them. save overwrites silently; restore writes on top without clearing and refuses on a different origin — cookies would attach to the wrong site.
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": {
"action": "<action>"
},
"name": "session_fixture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required for save/restore | |
| action | Yes | save snapshots the current origin; restore writes it back | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one |