Get personal UAB course groups
campus_get_my_groupsRetrieves the authenticated user's group memberships for a specific Moodle course using the academic year and course ID, so you can see which groups they belong to.
Instructions
Read the authenticated user's group memberships in one Moodle course.
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": {
"year": "<year>",
"courseId": "<courseId>"
},
"name": "campus_get_my_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| courseId | Yes |