graph_list_recent_messages
Fetch recent emails from a specified Microsoft 365 mailbox using Microsoft Graph API. Provide the user principal name (UPN) and optionally the number of messages to return.
Instructions
Fetches recent emails from a mailbox via Microsoft Graph API.
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_upn": "<user_upn>"
},
"name": "graph_list_recent_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| user_upn | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |