Search a department's courses
search_coursesFind every course a CMU department offers in a semester, including course number, title, and units. Filter by semester and department to identify courses for schedule planning.
Instructions
Every course a department offers in a semester: course number, title and units. Seat availability is not public at CMU, so there is no open/waitlist filter. For sections and times of one course use get_course_details.
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": {
"semester": "<semester>",
"department": "<department>"
},
"name": "search_courses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campus | No | Only sections taught on this campus: "Pittsburgh", "Doha", "Silicon Valley", ... Default "any". CMU lists other campuses' sections inside the same course. | any |
| semester | Yes | Semester code such as "S27" (Spring 2027), "F26" (Fall 2026), "M26" (Summer 2026). Names like 'Spring 2027' also work. Use list_semesters to see what is published. | |
| department | Yes | Department code, name or course prefix: "CS", "Computer Science" or "15". |