get_current_user_info
Returns profile and subscription information for the currently authenticated user, including active team, role, subscription plan, and AI-credit usage.
Input Schema
{
"type": "object",
"properties": {}
}Output Schema
{
"type": "object",
"required": [
"name",
"email",
"active_team_name",
"active_team_role",
"plan_name",
"plan_slug",
"subscription_status",
"ai_credits_available",
"ai_credits_max"
],
"properties": {
"name": {
"type": "string",
"description": "User's display name."
},
"email": {
"type": "string",
"description": "User's email address."
},
"plan_name": {
"type": "string",
"description": "Subscription plan display name."
},
"plan_slug": {
"type": "string",
"description": "Subscription plan identifier."
},
"ai_credits_max": {
"type": "integer",
"description": "AI credit limit for this billing period."
},
"active_team_name": {
"type": "string",
"description": "Name of the user's active team."
},
"active_team_role": {
"type": "string",
"description": "User's role on the active team."
},
"subscription_status": {
"type": "string",
"description": "Current subscription status."
},
"ai_credits_available": {
"type": "integer",
"description": "AI credits remaining this billing period (limit minus used)."
}
}
}Instructions
Returns profile and subscription information for the currently authenticated user, including active team, role, subscription plan, and AI-credit usage.
Parameters: None
Output:
- name (string): User's display name
- email (string): User's email address
- active_team_name (string): Name of the user's active team
- active_team_role (string): User's role on the active team
- plan_name (string): Subscription plan display name
- plan_slug (string): Subscription plan identifier
- subscription_status (string): Current subscription status
- ai_credits_available (integer): AI credits remaining this billing period (limit minus used)
- ai_credits_max (integer): AI credit limit for this billing period