manage_cache
Manage data freshness and memory use by refreshing or clearing cached course and category information.
Instructions
Manage the Moodle course and category caches. Allows refreshing or clearing the in-memory and file-backed caches to ensure data freshness or free up memory. Use 'refresh' to update cache with latest data from Moodle, 'clear' to remove cached data, and 'all' to affect both courses and categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: refresh (update cache) or clear (remove cache) | |
| target | No | Target to affect: courses, categories, or all |