get_user_profile
Get a user's profile, scoped to a shared course (not a global user search -- see docs/pii_review.md).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"course_id": "<course_id>"
},
"name": "get_user_profile"
}
}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 |