gmail_send_message_with_attachment
Send an email with a file attachment through Gmail. Specify recipient, subject, body, and file path, with optional CC.
Instructions
Send Gmail message with attachment.
Args: to: Recipient email address subject: Email subject body: Email body content file_path: Path to file to attach cc: CC recipients (comma-separated)
Returns: Dictionary with send result
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": {
"to": "<to>",
"subject": "<subject>",
"body": "<body>",
"file_path": "<file_path>"
},
"name": "gmail_send_message_with_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| body | Yes | ||
| subject | Yes | ||
| file_path | Yes |