Get Grok Chat Messages
Automatically get Grok Chat Messages on grok.com. Full message transcript of one Grok conversation by id, oldest to newest: each message's role (user/assistant), text, and any inline-cited sources on assistant messages.
Input
conversationId requiredGrok conversation id, from list_chats or a /c/<id> URL
Output
messages requiredFAQ
ngrok login (Google SSO)
Sign in to ngrok with a Google account and return the signed-in ngrok account. Returns at once when already signed in. Needs the paired browser, which holds the Google session. Pass email to pick an account; it fails by name when that account is not signed in to Google, when Google asks for a password, 2FA or passkey check (clear it once by hand, then re-run), or when the Google account has no ngrok account.
List Grok Chats
List recent Grok conversations (newest first): id, title, and a human-readable last-activity label as Grok itself displays it.
Ask Grok
Open a new Grok conversation, send one question, wait for the answer, and return the answer text plus any cited web sources. If the account has never confirmed Grok's one-time age gate, sending will hang and time out rather than silently confirming it on the caller's behalf.
