read_message
Retrieve one email by UID with headers, plain-text body (HTML converted), and attachment details; reading leaves it unread unless mark_read is true.
Instructions
Read one message: headers, plain-text body (HTML converted) and the attachment list (index, name, type, size). Leaves the message unread unless mark_read 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": {
"uid": "<uid>"
},
"name": "read_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | UID from search. | |
| folder | No | Folder holding the message (default INBOX). | |
| mark_read | No | Set the message's read flag (default false: reading leaves it unread). | |
| max_chars | No | Most body characters to return (default 20000, at most 200000). |