Ask Grok
Automatically ask Grok on grok.com. 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.
Input
question requiredThe question to ask Grok
Output
answer requiredThe assistant's answer text
sources requiredInline-cited web sources referenced in the answer, if any (empty when Grok answered without citing sources)
conversationId requiredThe Grok conversation id, from the resulting /c/<id> URL
FAQ
ngrok login (Google SSO)
Log into the ngrok dashboard via the "Log in with Google" button. Drives the Google account chooser (and consent screen if one appears) and lands on dashboard.ngrok.com. If already signed in, returns immediately. Requires running on the extension-paired browser rather than a managed/cloud browser. If Google requires a step-up (password re-confirm, 2FA, or passkey), that has to be cleared manually before this can complete — re-run afterward. Optional `email` arg picks which account row to use in the chooser; omit for the first row.
List Grok Chats
List recent Grok conversations (newest first): id, title, and a human-readable last-activity label as Grok itself displays it.
Grok whoami
Report which Grok account this browser is signed in as: the account email and name. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Grok scripts.
