get_module
Fetches full details for one course activity by module ID, covering files, dates, assignment submission status and feedback, page text, or URL targets.
Instructions
Details of one activity: description, dates, attached files; for assignments the submission status and feedback, for pages the text, for url modules the target. type may be omitted after get_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": {
"cmid": "<cmid>"
},
"name": "get_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes | ||
| type | No | assign | quiz | page | url | folder | resource | forum |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes | ||
| text | No | Body of a page module | |
| type | Yes | ||
| dates | No | ||
| files | No | Attachments of the activity itself | |
| title | No | ||
| quiz_info | No | ||
| submission | No | ||
| target_url | No | Where a url module points | |
| description | No |