session_status
Check session health, token expiration, and credential status to decide whether to refresh before grocery operations.
Instructions
Get current session status including token lifecycle and credential storage.
Returns comprehensive session information:
authenticated: Whether session is valid
needs_refresh: Whether refresh is required now (token expired)
refresh_recommended: Whether proactive refresh is advised (< 4 hours remaining)
time_remaining_hours: Hours until token expires
expires_at: ISO timestamp of expiration
message: Human-readable status
credentials_stored: Whether HEB credentials are saved for auto-login
Use this to check session health before operations or to decide when to proactively refresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||