search_users
Search for Moodle users by first name, last name, email, username, or ID number to locate a specific person before taking further actions.
Instructions
Search Moodle users by firstname, lastname, email, username, or idnumber. Use this for direct person lookup, not structured directory filtering or reports. Provide at least one standard Moodle search field. Moodle performs the filtering first; this tool does not preload the full user directory. If a directory listing plugin is installed, prefer that plugin for filter-style requests. If multiple users match, do not guess downstream actions; select the correct user ID first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Search by email | ||
| limit | No | Maximum users to return | |
| offset | No | Pagination offset applied after Moodle returns matches | |
| idnumber | No | Search by ID number | |
| lastname | No | Search by last name | |
| username | No | Search by username | |
| firstname | No | Search by first name |