joltsms_get_latest_otp
Retrieve the parsed OTP code from a phone number's recent SMS messages. If none is found, return the message body for manual extraction.
Instructions
Get the most recent parsed OTP code from a phone number.
Convenience tool — checks recent messages (last 10 minutes by default) for a parsed verification code. If no parsed code is found, returns the most recent message body for manual extraction.
Use joltsms_wait_for_sms if you need to wait for an OTP that hasn't arrived yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Only look at messages after this ISO 8601 datetime. Defaults to last 10 minutes. | |
| number_id | Yes | Number ID (UUID) or phone number (e.g. +17243213654 or 7243213654) |