get_user_profile
Get a user's profile, scoped to a shared course (not a global user search -- see docs/pii_review.md).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userid | No | User id to look up. Omit to get this account's own profile. | |
| course_id | Yes | PLATO/Moodle numeric course id both accounts share. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| No | Only populated for the caller's own profile or where the course context grants visibility -- see docs/pii_review.md. | ||
| fullname | Yes | ||
| username | No | ||
| department | No | ||
| institution | No | ||
| preferences | No | ||
| profileimageurl | No |