Preview an SMS Before Sending
preview_smsChecks an SMS recipient and message before sending: resolves the number to E.164, calculates encoding and segment count, and reports whether server policy would accept it without sending anything.
Instructions
Resolve the recipient to E.164, compute GSM-7/UCS-2 encoding and segment count, and report whether send_sms would accept this recipient under the server's policy. Sends nothing.
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": {
"phone": "<phone>",
"content": "<content>"
},
"name": "preview_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | The recipient's number, international (+353…) or national with countryCode. | |
| content | Yes | The message text to check. | |
| countryCode | No | Dial code for a national number, e.g. '+353' (default: the one FengSui is set to). |