toggle-module-publish
Toggles the published status of a Canvas module. Provide course ID and module ID to publish or unpublish.
Instructions
Publish/unpublish a module (toggles the current published state).
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>",
"moduleId": "<moduleId>"
},
"name": "toggle-module-publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The ID of the course | |
| moduleId | Yes | The ID of the module |