uplus_login
Signs in to U+ through an attached browser session, supporting manual user login or automated credential entry with fallback when auto fill fails.
Instructions
Sign in to U+ through the attached browser session. Ask the user which flow they prefer BEFORE calling:
mode="manual": open the portal and wait for the user to sign in by themselves in the visible browser window; no account or password is needed.mode="auto": the model first asks the user for their account, password and school name, then fills the sign-in form, submits and verifies the session. Credentials are used only for this call: never persisted to config, reports or logs, and never echoed back. The wait is capped at 30 s so a failed auto fill hands over tomanualquickly. If auto fill cannot find the fields, the school selector cannot be matched, or a captcha / SMS / wrong-password prompt appears, fall back tomanualand hand the window to the user.
Returns logged_in, the chosen mode, current URL and token length.
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": "uplus_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | manual | |
| school | No | ||
| password | No | ||
| username | No | ||
| wait_timeout_ms | No |