moodle_login
Authenticate to ZHAW Moodle by opening a browser for user sign-in with SWITCH edu-ID and MFA, returning after login is detected. Never requires your password; other tools auto-login when needed.
Instructions
Log in to ZHAW Moodle. Opens a browser window where the USER signs in with SWITCH edu-ID (incl. MFA) themselves; returns once login is detected. Never ask the user for their password. Other tools log in automatically when needed.
Args:
force: open the login browser even if the current session is still valid
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": "moodle_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| message | Yes | ||
| moodle_url | Yes | ||
| authenticated | Yes |