Sign in to Moodle
loginAuthenticate to KNTU Moodle using credentials stored in secrets.yaml so Claude acts as a signed-in student. Takes no arguments and never exposes the password.
Instructions
Sign the user in to the KNTU Moodle with the credentials stored in secrets.yaml (read by the server; the password never appears in arguments or output). Takes no arguments: never pass or ask for a password. Errors: CREDENTIALS_MISSING (secrets.yaml not set up), INVALID_LOGIN (wrong credentials, do not retry).
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": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| fullname | No | ||
| signedIn | Yes | ||
| username | No |