moodle_call
Call any Moodle web-service function your token permits, including nested parameters, to retrieve or update course data; confirm write actions before submitting.
Instructions
Escape hatch: call any Moodle web-service function the token allows, e.g. wsfunction='mod_quiz_get_quizzes_by_courses', params={'courseids': [123]}. Nested params are fine. Treat any function that writes (save/submit/update/delete/send) like a submission: confirm first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wsfunction": "<wsfunction>"
},
"name": "moodle_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| wsfunction | Yes |