message-get
Retrieve a Gmail message by its ID, selecting only needed fields and choosing plain text or HTML body. Optionally strip quoted thread history for cleaner reading.
Instructions
Get a Gmail message by ID with flexible field selection
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": "message-get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Gmail message ID to retrieve | |
| fields | No | Comma-separated fields to return. Omit for all fields. Available: id, threadId, subject, from, fromName, to, cc, bcc, date, snippet, body, isRead, isImportant, hasAttachments, attachmentCount, labelIds, folderName | |
| contentType | No | Format for body content: text extracts plain text, html preserves HTML structure | text |
| excludeThreadHistory | No | When true, removes quoted thread history from body content |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |