get_message
Read a Gmail message by ID to retrieve headers, labels, attachment list, and body; use for received messages, not drafts.
Instructions
Read one message by ID: headers, labels, attachment list and body. Not for drafts; use get_draft for those.
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": {
"messageId": "<messageId>"
},
"name": "get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Which fields to return. "plain_text" (default): headers, snippet, labels, attachments list and the text body (HTML converted to text when there is no text part). "full": plain_text plus htmlBody. "minimal": headers, snippet and labels only, no body. "metadata": like minimal but without subject or snippet. "raw": the RFC 822 source. | |
| messageId | Yes |