Preview SMS template
preview_sms_templateRender transactional SMS with variables to preview the body, missing variables, and segment estimate without sending.
Instructions
Render a transactional SMS with variables and return the plain-text body, missing variables, and segment estimate. Does not send.
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": {
"templateKey": "<templateKey>"
},
"name": "preview_sms_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | No | Variable map, e.g. { code: "482915" } | |
| templateKey | Yes | ||
| bodyTemplate | No | Optional unsaved body to preview. |