Policz części SMS
count_sms_partsCount SMS parts
Count GSM-7/UCS-2 segments for a message body and estimate cost without sending. Polish diacritics force UCS-2 (70 chars/part). Call this before send_sms.
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": {
"text": "<text>"
},
"name": "count_sms_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | SMS body to measure. Example: "Przypominamy o wizycie jutro o 10:00." |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| parts | Yes | ||
| length | Yes | ||
| encoding | Yes |