studentfirst_login
Sign in to StudentFirst or refresh an expired session when a StudentFirst tool reports an expired or missing session.
Instructions
Sign in to StudentFirst or refresh an expired session. Call this whenever a StudentFirst tool says the session expired or you are not signed in. StudentFirst (JCU Singapore) has its own user name and password, not the JCU single sign-on. When a window opens, ask the user to sign in there and to let the browser save the password, so later refreshes need nothing from them. Each saved account has its own sign-in; with several, pass account (the user is asked when you leave it out). Accounts are created by learnjcu_login; sign in to LearnJCU first if none is saved. It first refreshes silently (a few seconds, no window). If the user has to sign in, it opens the 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. Never ask the user for their password; they type it in the browser.
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": "studentfirst_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Saved account to use (see learnjcu_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) |