moodle_get_course_contents
Retrieve a complete Moodle course structure by week, listing all activities and resources with cmid and module type. Get a clear overview of course content.
Instructions
一门课的完整结构:按周次列出全部活动和资源,带 cmid 和模块类型。external 为 true 的是外链,拿不到内容。
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": {
"courseId": "<courseId>"
},
"name": "moodle_get_course_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | Moodle 课程 id,从 moodle_list_courses 拿 |