list_courses
List all courses for the current user, with optional filters by enrollment type and course state to narrow results.
Instructions
List all courses for the current user. Optionally filter by enrollment type and course state.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_courses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Filter by course state (unpublished, available, completed, deleted) | |
| per_page | No | Number of results per page (default 10) | |
| enrollment_type | No | Filter by enrollment type (teacher, student, ta, observer, designer) |