list_groups
Retrieve groups (comisiones) in a Moodle course by providing the course ID. Returns group id, name, and description.
Instructions
List groups (comisiones) in a course.
Args: course_id: The Moodle course ID.
Returns: JSON array of groups with id, name, and description.
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": {
"course_id": "<course_id>"
},
"name": "list_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |