get_message
Read a specific Outlook email by ID, returning compact fields by default or selective projections, with options for cached-only access, HTML and attachment metadata, and marking as read.
Instructions
Read an email by ID. Compact by default; pass fields: [...] for selective field projection (e.g. ['cc', 'bcc', 'categories', 'attachments']) without pulling full HTML, or set compact:false for HTML and attachment metadata. 1 Graph request unless offline (plus 1 when mark_read changes the state); compact:false can be large.
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": {
"message_id": "<message_id>"
},
"name": "get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional selective field projection (e.g. ['cc', 'bcc', 'categories', 'attachments']) returning only matched fields plus missing_fields if unrecognized. | |
| compact | No | Default true. Set false for HTML and attachment metadata (no attachment bytes) | |
| offline | No | Read the local cache only; no Graph request. | |
| mark_read | No | ||
| message_id | Yes |