createDraft
Create an email draft in Gmail by specifying recipient, subject, body, and optional file attachment. Requires OAuth authentication.
Instructions
Create an email draft in Gmail. Requires OAuth authentication.
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": {
"recipient": "<recipient>",
"subject": "<subject>",
"body": "<body>"
},
"name": "createDraft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Body content of the email | |
| subject | Yes | Subject line of the email | |
| recipient | Yes | Email address of the recipient | |
| attachmentPath | No | Optional: Absolute path to a file to attach |