Create Content Export
create_content_exportStarts a Canvas course export as a Common Cartridge or ZIP archive, returning an export ID to poll for completion.
Instructions
Start a course export as a .imscc Common Cartridge or a zip of files. Canvas packages it in the background; poll get_content_export with the returned ID. export_course_archive does export and download in one step. [NEEDS CONFIRMATION: call it once for a preview and a confirm_token, show the preview to the user, and only if they say yes call it again with the same arguments, confirm=true and that confirm_token. Apps that can ask the user directly show a confirmation instead.]
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>"
},
"name": "create_content_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true together with confirm_token to carry out a request you already previewed. | |
| course_id | Yes | Canvas course ID, a numeric string such as "12345". Get it from list_courses. | |
| export_type | No | "common_cartridge" (default, .imscc) or "zip" (files only). | |
| confirm_token | No | The one-time token from the preview. Only use it after the user has said yes. |