Moodle sign-in status
auth_statusChecks whether the server is signed in to KNTU Moodle and whether the stored token still works. Use it first when authentication is uncertain and follow returned instructions if sign-in is needed.
Instructions
Check whether the server is signed in to the KNTU Moodle (mdl.kntu.net.ua) and whether the token still works. Call this first when unsure; it never fails. If signedIn is false, follow the returned instructions to sign in.
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": "auth_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| reason | No | ||
| userid | No | ||
| fullname | No | ||
| signedIn | Yes | ||
| username | No |