get_user_photo
Retrieve a Microsoft 365 user’s profile photo metadata without downloading image bytes. Use it to check if a photo exists and access its content type and dimensions.
Instructions
Get user profile photo (returns metadata, not bytes).
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": {
"user_id": "<user_id>"
},
"name": "get_user_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes |