get_credentials() retrieves the authenticated user’s credentials for your tools.
Signature
The signature depends on your auth type:Return value
Usage
OAuth
User credentials
Environment variables
Local development
For local testing,get_credentials() reads from LOCAL_* environment variables when ENVIRONMENT=local:
Errors
No authentication context
- Token validation failed
- Middleware not configured correctly
