list_categories
Retrieve course categories from the Moodle campus, including academic periods, degree programs, and areas. Returns hierarchical data with parent, depth, and course counts for navigation.
Instructions
List course categories (períodos lectivos, carreras, áreas).
In Moodle, categories organize courses hierarchically by faculty, degree program, year, or academic period.
Returns: JSON array of categories with id, name, parent, depth, and course count.
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": "list_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |