canvas_files
List or search accessible personal, course, group, or folder files and return metadata with download links to help you locate Canvas materials and resources.
Instructions
List or search accessible personal, course, group or folder files. File metadata includes download links.
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": {
"context_type": "<context_type>"
},
"name": "canvas_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true: Canvas's unmodified JSON (UTC times, HTML). | |
| page | No | Page to fetch: a number, or the next_page value returned by the previous call. | |
| context_id | No | Id of the course, group, user or folder named by context_type. | |
| search_term | No | Only return items whose name contains this text. | |
| context_type | Yes | Where to look: course or group (files and folders also take user or folder). |