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.
Input
None
Output
loggedIn requiredname optionalemail optionalFAQ
List Grok Chats
List recent Grok conversations (newest first): id, title, and a human-readable last-activity label as Grok itself displays it.
Delete Grok Chat
Permanently delete one Grok conversation by id. Deletion happens immediately when clicked — Grok shows a brief in-app "Undo" toast, but this script does not wait for or use it, so treat the deletion as irreversible once this returns.
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.
