Skip to content

get_storage_value

Retrieve the value from the browser storage. The tool will try to decode the JSON in the value to extract the structured data and will return plain string value if the JSON decoding fails.

Arguments

Name Type Description
tab string The tab to get the storage value from. Special value `current` can be used to send the request from the current tab. If not set, the value will be get from the extension environment.
key string The key to get the value from.
type string Which storage to get the value from.
jmespath string The jmespath expression to execute on top of the result.

Output

Type: unknown

The value stored under the given "key". If the response is JSON, it will be parsed, and jmespath will be executed on top of it. If it doesn't exists, `null` will be returned. Otherwise, `string` will be returned.