Log in to Gamealia
gamealia_loginAuthenticate with Gamealia using a device code before other tools can run. Returns a URL and code to approve, then stores your API key for later requests.
Instructions
Logs in to Gamealia with a device code; call it first, since every tool that talks to Gamealia needs it. Returns a URL and a code at once for the user to open and approve (Google, or email and password; creates the developer profile if needed), then polls in the background and stores the API key in ~/.config/gamealia/credentials.json (mode 600). Call again with wait:true to wait for the approval (up to 50 s per call; repeat while still pending). When already logged in it only returns the username, unless force:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait up to 50 s for the user to approve a login started earlier | |
| force | No | Start a new login even when already logged in (cancels a pending one) |