Check agy auth status & credit
agy_auth_statusCheck login status and per-model credit balance. Use before querying to confirm authentication and available quota.
Instructions
Report whether agy is logged in and how much per-model quota (credit) remains.
Reads agy's local account store (~/.antigravity_tools). Never returns the auth token.
Takes no arguments. Returns JSON: { "logged_in": boolean, // true if a current account has a valid, non-disabled token "email": string | null, // current account email "name": string | null, // current account display name "accounts": string[], // all known account emails "models_quota": [ { "display_name": string, "percentage": number, "reset_time": string } ] // percentage = remaining credit for that model (100 = full) }
Use before agy_ask to confirm agy is usable; if logged_in is false, call agy_login.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "agy_auth_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||