reply
Send a threaded Gmail response to a message, using the sender and original To/Cc recipients by default, or save it as a draft for review before sending.
Instructions
Reply to a message with Gmail's default recipients: the sender (or Reply-To), plus everyone on To and Cc except yourself when replyAll is true. Threaded, subject prefixed with Re:, original quoted below, signature appended. Sends immediately unless asDraft is true, which leaves a draft to review. to/cc/bcc override the defaults.
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": "reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Override the default Cc. | |
| to | No | Override the default To. | |
| 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 | Default true. | |
| asDraft | No | Create a draft instead of sending. Default false. | |
| 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. | |
| replyAll | No | Default false. | |
| messageId | Yes | The message to reply to; usually the latest in the thread (see get_thread). | |
| 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. |