storage.snapshot
Captures local and session storage as inline state, optionally filtered by key prefix. Use it to inspect or save app-scoped data and restore it with storage.import.
Instructions
Local and session storage inline, optionally narrowed to a key prefix. Use for app-scoped state (feature flags, tour progress); pair with storage.import to restore it.
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": "storage.snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Default both. | |
| prefix | No | Only keys starting with this, e.g. "myapp_". | |
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| max_value_chars | No |