pilot_storage
Read or write browser web storage to inspect application data, debug session state, or set localStorage values. Sensitive information is automatically redacted for security.
Instructions
Read or write browser web storage (localStorage and sessionStorage). Use when the user wants to inspect stored application data, check feature flags, debug session state, or set a specific localStorage value. Sensitive values (tokens, secrets, API keys) are automatically redacted for security.
Parameters:
set_key: If provided, sets this key in localStorage to the value in set_value
set_value: The value to set for set_key in localStorage (omit to read all storage instead)
Returns: When reading: JSON object with localStorage and sessionStorage contents (sensitive values redacted as "[REDACTED — N chars]"). When writing: Confirmation of the key set.
Errors: None — returns empty storage objects if no data exists.
Security: Values matching patterns like "eyJ..." (JWTs), "sk-..." (API keys), or keys containing "token", "secret", "password" are auto-redacted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set_key | No | Key to set in localStorage | |
| set_value | No | Value to set |