Estimate SMS Tier + Price (Telnyx)
phone.telnyx.estimateAvoid 400 errors by classifying a phone number into its pricing tier (na, world, premium) and retrieving the recommended send tool and estimated price before sending an SMS.
Instructions
Classify a destination phone number into the right pricing tier (na / world / premium) and return the recommended send tool and price. Use this BEFORE telnyx.send_sms_* to avoid 400 errors. $0.001/lookup (Telnyx)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination phone number in E.164 format (e.g. "+14155551234", "+447911123456", "+79991234567"). The classifier returns the recommended send tool and tier-based price. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |