Read message
get_messageRetrieve a Microsoft 365 email with full body, recipients, and attachment details; optionally mark it as read or choose text/HTML body format.
Instructions
Get a message with full body (a string; see bodyFormat), recipients and file attachments (inline images are only counted; list_attachments shows them). Does not mark it read unless markAsRead is true.
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": {
"id": "<id>"
},
"name": "get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message ID | |
| format | No | Body format: "text" (default) or "html" | |
| markAsRead | No | Also mark the message as read (default false) | |
| maxBodyChars | No | Truncate the body after this many characters (default 20000) |