send_message_to_list
Send a message to all subscribers of a list using inline title and body content. API reference: https://www.courier.com/docs/api-reference/send/send-a-message.
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": {
"list_id": "<list_id>",
"title": "<title>",
"body": "<body>"
},
"name": "send_message_to_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Message body | |
| data | No | Key-value data to include | |
| title | Yes | Message title | |
| method | No | Routing method | all |
| list_id | Yes | The list ID to send to | |
| channels | No | Channel names to route through. Omit to use default routing. |