use_template
Apply a configured email template by filling {{variable}} placeholders with provided values and returning ready-to-use arguments for send_email or create_draft; it does not send messages.
Instructions
Apply a configured email template — fills {{variable}} placeholders with provided values and returns ready-to-use arguments for send_email or create_draft. Does not send; call send_email or create_draft with the returned args.
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": {
"templateId": "<templateId>"
},
"name": "use_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients to include in the returned args | |
| to | No | Recipient email address to include in the returned args | |
| bcc | No | BCC recipients to include in the returned args | |
| accountId | No | Account ID to include in the returned args | |
| variables | No | Key-value pairs to substitute into {{variable}} placeholders in the template subject and body | |
| templateId | Yes | The ID of the template to use |