bulk_message
Send promotions or updates to multiple customers by targeting specific IDs, tags, or platforms. Include optional media attachments.
Instructions
Send a message to multiple customers at once.
Broadcast promotions, announcements, or updates. Target by specific IDs, a customer tag, or a platform. At least one of customer_ids, tag, or platform is required.
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": {
"message": "<message>"
},
"name": "bulk_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message text to send | |
| customer_ids | No | List of specific customer IDs to target | |
| tag | No | Send to all customers with this tag (e.g., "vip", "returning", "lead") | |
| platform | No | Send only to customers from this platform | |
| media_urls | No | Optional list of image/video URLs to attach | |
| org_id | No | Organization ID (uses YAPARAI_ORG_ID env var if not provided) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||