get_user
Retrieve a single Moodle user record by providing their exact ID, email, or username. Returns structured user data including custom profile fields.
Instructions
Fetch one Moodle user by exact ID, email, or username. Provide exactly one of id, email, or username. Returns a single structured user record including any custom profile fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Exact Moodle user ID | |
| No | Exact email address | ||
| username | No | Exact Moodle username | |
| presentation | No | How much user detail to display. Use compact for workflow steps and full when explicitly asked for all user details. |