get_course_files
Retrieve files from a Canvas course by specifying course ID and optional folder path to list contents.
Instructions
List files in a Canvas course, optionally scoped to a folder path.
Args: course_id: The numeric Canvas course ID (get it from get_courses). folder_path: Subfolder path to list (e.g. "lecture slides"). Leave empty for root.
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": "get_course_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | uchile | |
| course_id | Yes | ||
| folder_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |