send_message_template
Send a message to a user using a published notification template. Only published templates can be sent; publishing a draft is a separate operation. Example: { user_id: "user-123", template: "nt_01abc123", data: { name: "Alex", resetUrl: "https://app.example.com/reset" } }.
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>",
"template": "<template>"
},
"name": "send_message_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Key-value data for template variables | |
| method | No | Routing method | all |
| user_id | Yes | The recipient user ID | |
| channels | No | Channel names to route through. Omit to use template routing config. | |
| template | Yes | Template ID or notification slug |