Leer un mensaje
get_messageRead an email by UID from a cPanel mailbox, returning truncated plain text and attachment list without marking it seen unless requested. Omits the body for messages larger than 2 MB.
Instructions
Lee un mensaje por UID. Devuelve texto plano recortado y la lista de adjuntos. No lo marca como leído salvo mark_seen=true. Si el mensaje supera 2 MB, omite el cuerpo.
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": "get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| mailbox | No | Ruta exacta de la carpeta, por ejemplo INBOX o INBOX.Trabajo | |
| mark_seen | No | Marca el mensaje como leído | |
| max_chars | No |