send_invitations_email
Sends the email invitation to all participants of a draw created in this same conversation. Each participant receives a personal email invitation. The send is immediate and cannot be recalled; a draw admits one bulk send. Takes the drawId and shareCode returned by create_draw.
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": {
"drawId": "<drawId>",
"shareCode": "<shareCode>"
},
"name": "send_invitations_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drawId | Yes | ||
| locale | No | Optional BCP 47 language tag for the user (e.g. "es-ES", "es-MX", "es-AR", "en-GB"). It determines the Secret Santa Raffle brand (website) and the language of the message templates and emails: arguments.locale takes precedence, then the Accept-Language header, then Secret Santa (English) when neither is present or supported. Brands: Amigo Invisible (Spain/Argentina/Uruguay), Amigo Secreto (most of Latin America), Intercambio de regalos (Mexico), Secret Santa (English and global fallback). | |
| shareCode | Yes | Access credential of the draw, returned by create_draw (structuredContent.shareCode). Whoever holds it can send the invitations of that draw. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | ||
| drawId | Yes | ||
| invitationsSent | Yes |