Get Course Roster
get_rosterFetch a course roster with instructors, TAs, and optionally students, including names, emails, and roles. Use includeStudents to get the full class list when asked about classmates or contact info.
Instructions
Fetch the roster for a course including instructors, TAs, and optionally students with their names, emails, and roles. Use this when the user asks about classmates, instructor contact info, TA emails, professor names, or who's in a class. By default returns only instructors and TAs for privacy. Use includeStudents to get full class list. This is not get_classlist_emails: for just a plain list of email addresses to copy or email everyone, use that tool instead. Example: "Who's the TA for my Chemistry class and what's their email?"
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": {
"courseId": "<courseId>"
},
"name": "get_roster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum users to return. Default 100. The response reports the true total and whether it was truncated. | |
| courseId | Yes | Course ID to get roster for. | |
| searchTerm | No | Optional search term to filter by name. | |
| includeStudents | No | Include students in results. Default is instructors and TAs only. |