Course Schedule
Use this skill when the user asks about course schedules, class times, classrooms, instructors, majors, semesters, or course IDs.
Inputs
The caller may provide any of these optional filters:
major: major name, such as计算机科学or电子信息grade: student grade, such as2023or2023级class_name: class name, such as计科2301班semester: semester code, such as2023-2024-2day_of_week: weekday as1-7,周一-周日,今天, or明天course_id: course code, such asCS101course_name: course name keyword, such as数据结构teacherorinstructor: instructor keywordcampus: campus name, such as东湖校区
If the user asks for "我的课表" or does not provide a major/class scope, the caller should use the current student profile as defaults:
major: profile专业grade: profile年级class_name: profile班级
Output
Return matching courses with course ID, course name, instructor, major, grade, class name, semester, weekday, time, campus, building, and classroom. If no course matches, say that no accurate schedule was found for the provided filters.
Execution
This skill obtains schedule data from the local course schedule API:
GET /api/v1/course-schedule/
Pass the optional filters as query parameters. The API currently returns mock course data for multiple majors and classes for development and demos.