Read a message
get_messageRead one email’s headers, sanitized body, and attachment list by account and UID; the body is truncated to the configured character limit.
Instructions
Returns headers, sanitized text body and the attachment list of one message. Body is truncated to the configured limit.
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": {
"account": "<account>",
"uid": "<uid>"
},
"name": "get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | uid from search_messages | |
| folder | No | Default: Gmail All Mail, else INBOX | |
| account | Yes | list_accounts id | |
| max_chars | No | ||
| include_quoted | No | Keep quoted replies (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| text | Yes | ||
| folder | Yes |