send_message
Sends a new Gmail message immediately, including replies threaded by message or thread ID, or sends an existing draft when only a draft ID is provided.
Instructions
Send a new message immediately. To thread it into an existing conversation give replyToMessageId (quotes and threads on that message) or replyThreadId (threads only). To send a draft instead, give draftId and nothing else. For replies with Gmail's default recipients use the reply tool. Prefer create_draft when the user should review first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| body | No | Plain-text body. One line per paragraph, no hard wrapping; Gmail wraps on display and links bare URLs. Markdown does NOT render: for bullets or other formatting supply htmlBody instead. | |
| quote | No | When replyToMessageId is set, quote it below the new text. Default true. | |
| draftId | No | Send this existing draft; all other fields are ignored. | |
| subject | No | Title Case. | |
| htmlBody | No | HTML body, used when the message needs formatting such as <ul><li> lists. When given, "body" becomes the plain-text alternative (derived from the HTML if omitted). Do not include the signature; it is appended. | |
| signature | No | Set false to send without the configured signature. By default the signature (from config.json, GMAIL_SIGNATURE, or the Gmail settings signature) is appended once; a copy typed into the body is de-duplicated. | |
| attachments | No | Files to attach, as local paths (preferred: any size up to Gmail's 25 MB total) or base64 objects. | |
| replyThreadId | No | ||
| replyToMessageId | No |