canvas_folders
List personal, course, group, and subfolder contents to find Canvas files; if a course hides files, search files instead.
Instructions
List folders: your personal files (context_type user), a course's or group's folders, or the subfolders of a folder (context_type folder with its id). Many courses hide their files; use canvas_find_files then.
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_folders"
}
}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. | |
| context_type | Yes | Where to look: course or group (files and folders also take user or folder). |