state_save
Save the current browser's login (cookies and localStorage) as a named state so other sessions can start already logged in; only cookies for allowed origins are kept.
Instructions
Save the current browser's login (cookies + localStorage) as a named state, so other sessions can start already logged in. Only cookies for the allowed origins are kept. allowedOrigins defaults to the http(s) origins open in tabs; it can never be wider than this browser's own allowlist. States a person created with devtools-fleet login cannot be overwritten.
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": {
"name": "<name>"
},
"name": "state_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | State name: letters, digits, . _ - | |
| strict | No | Block every request (not just navigations) outside the allowlist when the state is used | |
| overwrite | No | ||
| allowedOrigins | No | Origins this state may be used on, e.g. ["https://staging.example.com"] |