get_student_attendance
Retrieve a student's attendance records, including absences, tardiness, and recent history, from the Moodle system.
Instructions
Dùng khi hỏi điểm danh, đi học, nghỉ/vắng, trễ, cảnh báo C/D, nghỉ buổi nào hoặc lịch sử điểm danh gần đây của học viên.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_student_attendance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email/username học viên nếu cần phân biệt trùng tên. | ||
| limit | No | Số bản ghi gần đây cần xem, ví dụ 10. | |
| userid | No | Moodle user ID. Nên dùng khi đã biết để tránh trùng tên. | |
| groupid | No | Moodle group ID nếu biết. | |
| courseid | No | Moodle course ID. Nếu bỏ trống sẽ dùng DEFAULT_COURSEID. | |
| group_name | No | Tên group/cohort nếu cần lọc trong lớp. | |
| course_name | No | Tên lớp/course trong Moodle. | |
| student_name | No | Tên học viên, có thể là tên đầy đủ hoặc tên thường gọi. |