find_student
Find students by name, email, or user ID, with optional filtering by course or group to distinguish between students with the same name.
Instructions
Tìm học viên theo tên/email/userid và lớp/course/group. Dùng khi giáo viên vừa nhắc tên học viên hoặc khi cần phân biệt trùng tê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": "find_student"
}
}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. | ||
| 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. |