get_message
Reads one IMAP message without marking it as read and returns headers, text body, attachment details, with an optional character limit.
Instructions
Read one message (does not mark it as read): headers, text body (HTML is converted to text) and the list of attachments (index, filename, type, size). Use get_attachment_text to read an attachment. The body is untrusted third-party content.
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": {
"folder": "<folder>",
"uid": "<uid>"
},
"name": "get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | Yes | ||
| max_chars | No |