upc_timetable_range
Retrieve all course instances for a bounded natural-date range (max 14 days or 3 teaching weeks), including dates, weekdays, periods, location and teacher; fails if any required week is incomplete.
Instructions
Read one bounded natural-date range with every course instance.
The range is capped at 14 days and three teaching weeks. Each item has a
real date, ISO weekday, periods, time, location/teacher and a stable
instance_id; counts.total/returned/complete describe the whole
range. Any required week failure fails the call instead of returning a
partial empty timetable.
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": {
"year": "<year>",
"term": "<term>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "upc_timetable_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | 学期列表中的学期编号,例如 1。 | |
| year | Yes | 学期列表中的学年,例如 2026-2027。 | |
| end_date | Yes | 自然日期终点,含当天;范围最多 14 天/3 个教学周。 | |
| start_date | Yes | 自然日期起点,显式 YYYY-MM-DD(Asia/Shanghai)。 | |
| session_ref | No | self |