get_course
Fetch a USC course's full record by course code for a term: description, units, GE, prerequisites, sections, schedule, seats, fees, syllabus. Filter sections by days, time, or open seats.
Instructions
Get the full record for a single USC course in a term by its course code (e.g. 'CSCI-103'). Includes description, units, GE code, prerequisites, corequisites, restrictions, and all sections with schedule, instructor, seats, fees, and syllabus URL. Supports optional section filters (days, startAfter, startBefore, openOnly) applied client-side.
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": {
"termCode": "<termCode>",
"courseCode": "<courseCode>"
},
"name": "get_course"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Section must meet on all of the given days (e.g. ['Mon', 'Wed']). A section matches if any of its schedule entries covers every listed day. | |
| openOnly | No | When true, only include sections that are not cancelled and not full (have seats available). | |
| termCode | Yes | Numeric USC term code, e.g. 20263 (Fall 2026). Use list_terms to discover codes. | |
| courseCode | Yes | ||
| startAfter | No | Only sections whose start time is at or after this zero-padded HH:MM time (e.g. '12:00'). | |
| startBefore | No | Only sections whose start time is at or before this zero-padded HH:MM time (e.g. '17:00'). |