Update Module Item
update_module_itemEdit an existing module item in place: rename it, repoint an ExternalUrl/ExternalTool item, reposition or re-indent it, publish/unpublish it, or move it to another module.
Instructions
Edit an existing module item in place: rename it, repoint an ExternalUrl/ExternalTool item, reposition or re-indent it, publish/unpublish it, or move it to another module. ExternalUrl items exist only as module items, so a stale link carried in by a course copy can only be fixed here.
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_id": "<course_id>",
"module_id": "<module_id>",
"item_id": "<item_id>"
},
"name": "update_module_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title for the module item | |
| indent | No | New indent level (0 = flush left) | |
| item_id | Yes | The Canvas module item ID | |
| new_tab | No | Whether an external item opens in a new tab | |
| position | No | New 1-based position within the module | |
| course_id | Yes | The Canvas course ID | |
| module_id | Yes | The Canvas module ID the item currently belongs to | |
| published | No | Whether the item is published | |
| external_url | No | New URL for an ExternalUrl or ExternalTool item | |
| target_module_id | No | Move the item to this module ID (omit to leave it where it is) |