Get message
mail_get_messageFetch one email by opaque message ID to read the sender’s original subject and body plus its attachment list, optionally starting at a Unicode offset in the body.
Instructions
Fetches one message, including its text and attachment list. The subject and body are as the sender wrote them.
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": "mail_get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Opaque message id. | |
| offset | No | Unicode scalar offset into the body. Omitted means the start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| to | Yes | ||
| body | Yes | ||
| date | Yes | ||
| from | Yes | ||
| subject | Yes | ||
| attachments | Yes | ||
| next_offset | Yes |