List Account Courses
list_account_coursesList every course in a Canvas account, optionally filtered by search_term matching course name or course code. Fetches every page (100 per request) and fails with a 'Results are incomplete' error instead of silently truncating.
Instructions
List every course in a Canvas account, optionally filtered by search_term matching course name or course code. Fetches every page (100 per request) and fails with a 'Results are incomplete' error instead of silently truncating. Use list_sub_accounts first if you want one sub-account's courses rather than this account's own, and list_courses instead for the courses the authenticated user is enrolled in or can access, rather than a full account inventory. Requires an admin role on the account.
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": {
"account_id": "<account_id>"
},
"name": "list_account_courses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The Canvas account ID | |
| search_term | No | Search courses by name or course code |