delete_module
Permanently remove a Canvas module and its structure without deleting the individual items. Use this to clean up course modules that are no longer needed.
Instructions
Permanently delete a module and all its items (the items themselves, e.g. pages, are not deleted). This cannot be undone.
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_identifier": "<course_identifier>",
"module_id": "<module_id>"
},
"name": "delete_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_id | Yes | ||
| course_identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |