Read message
read_messageReturns the full message: sender, recipients, subject, body and attachment list. By default the HTML body is converted to plain text with link targets kept in parentheses.
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": {
"messageId": "<messageId>"
},
"name": "read_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Body format: 'text' (default) or 'html'. | text |
| messageId | Yes | Message id (see 'list_messages' or 'wait_for_message'). | |
| markAsRead | No | Mark the message as read. Default: true. |