gradescope_login
Sign in to Gradescope or refresh an expired session, using a saved account when multiple exist. Opens the university sign-in page in your browser or returns the terminal sign-in command.
Instructions
Sign in to Gradescope or refresh an expired session. Call this whenever a Gradescope tool says the session expired or you are not signed in. Each saved account has its own sign-in; with several, pass account (the user is asked when you leave it out). It first refreshes silently (a few seconds, no window). If the user has to sign in, it opens the University sign-in page in their default browser: tell the user a browser window opened and ask them to sign in there. If the result says waitingForUser, call again after the user says they are done. On a machine with no display it returns the terminal command the user should run to sign in there. Never ask the user for their password; they type it in the browser or their own terminal.
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": "gradescope_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Saved account to use (see minerva_list_accounts). Only needed when several accounts are saved and the user has not chosen one yet. | |
| waitSeconds | No | How long to wait for the sign-in to finish before returning (default 45, which fits the 60 s default tool timeout of Codex) |