gemini_check_auth
Verify Gemini CLI authentication before making prompt calls. If unauthenticated, get exact fix suggestions.
Instructions
Check whether the Gemini CLI is authenticated before making any gemini_prompt calls.
Always call this first if you are unsure whether Gemini is set up. Returns: authenticated (bool), method, detail, suggestion. If authenticated is false, read the suggestion field — it contains the exact fix.
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": "gemini_check_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | Seconds to wait for the auth probe. Increase if the CLI is slow to start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||