joltsms_wait_for_sms
Polls for an incoming SMS on a specified JoltSMS number until it arrives, then returns the message body and parsed OTP code for phone verification workflows.
Instructions
Poll for an incoming SMS message on a specific number. This is the KEY tool for OTP verification workflows.
Typical workflow:
Trigger OTP on a website/app using the JoltSMS phone number
Call this tool with the number_id
The tool polls every few seconds until an SMS arrives or timeout
Returns the message body and parsed OTP code
Use from_filter to only match messages from a specific sender. Default timeout is 120 seconds with 5-second polling intervals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number_id | Yes | Number ID (UUID) or phone number (e.g. +17243213654 or 7243213654) | |
| from_filter | No | Only match SMS from this sender (partial match) | |
| timeout_seconds | No | Max seconds to wait (10-300, default 120) | |
| poll_interval_seconds | No | Seconds between polls (3-30, default 5) |