send_message
Send a message to a user using inline title and body content (no template). Optionally specify routing channels. 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": {
"user_id": "<user_id>",
"title": "<title>",
"body": "<body>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Message body | |
| data | No | Key-value data to include with the message | |
| title | Yes | Message title | |
| method | No | Routing method: deliver to all channels or stop after first success | all |
| user_id | Yes | The recipient user ID | |
| channels | No | Channel names to route through (e.g. email, sms, push). Omit to use default routing. |