Token status
instagram_token_statusInspect the active Instagram credential: see auth path, token presence, resolved account ID, and for Facebook-login tokens, validity, scopes, expiry, and days-left with refresh warning.
Instructions
Report the active credential: auth path (A = ig-login / B = fb-login), whether a token is configured, the resolved account ID, and — on Path B, via debug_token — validity, granted scopes, absolute expiry and days-left (with a refresh warning as the threshold nears). Path A has no token-introspection endpoint, so expiry is reported honestly as unknown. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Name of the configured account profile to operate as (multi-account). Omit to use the default profile (IG_ACTIVE_PROFILE). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | Granted scopes (Path B only). | |
| isValid | No | debug_token validity (Path B only). | |
| profile | Yes | Active profile name. | |
| warning | No | Actionable remediation, when any applies. | |
| authPath | Yes | Auth path: 'ig-login' (A) or 'fb-login' (B). | |
| daysLeft | No | Whole days until expiry (Path B). | |
| accountId | No | Resolved IG account ID, when known. | |
| expiresAt | No | ISO 8601 absolute token expiry (Path B). | |
| expiryState | Yes | Expiry state: 'unknown' | 'never' | 'valid' | 'expiring_soon' | 'expired'. | |
| appConfigured | Yes | Whether Meta-app credentials (app ID) are configured. | |
| rateLimitBudget | Yes | Rate-limit budget snapshot (see integration notes in the tool source). | |
| tokenConfigured | Yes | Whether an access token is configured for the profile. | |
| dataAccessExpiresAt | No | ISO 8601 end of the Path-B data-access window, when provided. |