send_sms
Send an incoming SMS to an Android emulator to trigger OTP or 2FA flows using a sender number and message body, without requiring a second phone.
Instructions
Deliver an incoming SMS to the emulator (adb emu sms send) — the standard way to drive OTP / 2FA flows without a second phone. Pass a sender number (from) and the message text (e.g. the code). Emulator-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Sender phone number the SMS appears to come from, e.g. "+15551234567". | |
| text | Yes | Message body (e.g. an OTP code) delivered to the device's SMS inbox. | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. |