List the person's courses
list_coursesRead-only: the person's own courses, to find a course again or pick one to share. personal: courses in their soclever library (courseRef for preview_personal_share and get_personal_course). teaching: a teacher's own teaching courses (courseId for preview_share_recipient); a regular account has none. By default it lists ids, titles and lesson counts only (page size up to 20). With includeCounts: true it also gives each personal course's sharing state and each teaching course's lesson counts (published, held for review, waiting, taken down), on a page of at most 5. Page with offset. Course titles are under forThePerson: they come from the person's material. Teaching lesson counts: published is what a new student sees now. unpublished lessons are "taken down by the teacher"; held and notPublished lessons are "held for review / not published yet", which is different from taken down. In notYetAvailable, lessons_unpublished means taken down by the teacher; lessons_held and lessons_not_published mean held for review / not published yet.
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 |
|---|---|---|---|
| limit | No | ||
| which | No | 'personal', 'teaching' or 'both' (the default). | both |
| offset | No | ||
| includeCounts | No | Also each course's sharing state or lesson counts; the page is then at most 5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |