message-get
Retrieves an Outlook message by ID and returns selected fields, with options for text or HTML body and removing quoted thread history.
Instructions
Get an Outlook message by ID with flexible field selection
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": "message-get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Outlook message ID to retrieve | |
| fields | No | Comma-separated fields to return. Omit for all fields. Available: id, threadId, subject, from, fromName, to, cc, bcc, date, snippet, body, isRead, isImportant, hasAttachments, attachmentCount, labelIds, folderName | |
| contentType | No | Format for body content: text extracts plain text, html preserves HTML structure | text |
| excludeThreadHistory | No | When true, removes quoted thread history from body content |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |