moodle_status
Verify a saved Moodle session and identify the logged-in user before continuing; if authentication fails, call login once.
Instructions
Check whether a saved Moodle session is valid, and who is logged in.
Returns user_id, user_name and site URL. Call this first at the start of a session; if authenticated is false, call moodle_login once.
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_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||