get_draft
Read a Gmail draft by its draft ID to retrieve recipients, subject, body, attachments, and a direct Gmail link.
Instructions
Read a draft by draft ID (not message ID): recipients, subject, body, attachments and a Gmail link.
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": {
"draftId": "<draftId>"
},
"name": "get_draft"
}
}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. | |
| draftId | Yes |