auth_status
Check if FreshBooks is connected and retrieve active session details, including account and business IDs needed for other tools.
Instructions
Check whether FreshBooks is connected and return the active session details.
WHEN TO USE:
Call first in any workflow before using accounting or time-tracking tools
User asks "am I connected to FreshBooks?", "what account is linked?"
Diagnose why a tool returned an auth error
TAKES NO ARGUMENTS — safe to call anytime.
RETURNS (connected session): { connected: true, userId, accountId, businessId, email, expiresAt }
accountId and businessId are the IDs to pass to accounting and time-tracking tools
RETURNS (no session or expired token): { connected: false }
NEXT STEPS:
If connected: false → call auth_get_url to start OAuth
If connected: true → use accountId/businessId with all other tools
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||