-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexam.json
More file actions
77 lines (77 loc) · 2.29 KB
/
exam.json
File metadata and controls
77 lines (77 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "Exam",
"access": {
"anon": "Can read exam information.",
"user": "Can read exam information. Cannot modify exam fact data.",
"admin": "Maintains exam data through admin or import flows, not direct edits on ordinary pages.",
"agent": "After authorization, can read exams relevant to the current user; this capability is primarily exposed via MCP."
},
"rules": {
"attached-to-section": "Exams are attached to sections and are high-priority time events.",
"read-only": "Exams are read-only; no ordinary user edit entry point is provided.",
"semester-required": "Semesters must be explicitly displayed when browsing exams across semesters."
},
"capabilities": {
"cross-section-exam-list": {
"title": "Cross-Section Exam List",
"auth": "user",
"links": {
"models": ["Exam"]
},
"web": {
"pages": ["/?tab=exams"]
},
"rest": "unavailable",
"mcp": {
"tools": [
{
"name": "list_my_exams",
"returns": "{ exams: ExamEntry[] }",
"notes": [
"Returns exams[]; each item contains section.course.namePrimary, section.code, section.semester?.nameCn, examDate, startTime, endTime, examBatch, and examRooms[]."
]
}
]
},
"display": {
"fields": [
"exam.examDate",
"exam.startTime - endTime",
"exam.examMode",
"exam.examRooms[] (locations)",
"section.course.namePrimary",
"completion filter: incomplete/completed/all"
]
}
},
"section-exam-info": {
"title": "Section Exam Info",
"auth": "anon",
"links": {
"models": ["Exam"]
},
"web": {
"pages": ["/sections/[jwId]"]
},
"rest": "unavailable",
"mcp": {
"tools": [
{
"name": "list_exams_by_section",
"returns": "{ found: Boolean, section: Section?, exams: ExamEntry[] }",
"notes": ["Returns a single section's exams[]."]
}
]
},
"display": {
"fields": [
"exam.examDate",
"exam.startTime - endTime",
"exam.examMode",
"exam.examBatch.namePrimary",
"exam.examRooms[]"
]
}
}
}
}