phone_call
Simulate incoming calls and control call states (accept, cancel, busy, hold) on an Android emulator to test call-interruption behavior and phone call flows.
Instructions
Drive an emulated voice call (adb emu gsm). action="call" (default) rings an incoming call from number; "accept"/"cancel"/"busy"/"hold" transition an in-progress call. Use to test call-interruption behaviour and CALL_PHONE flows. Emulator-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | What to do: "call" (default — ring an incoming call), "accept", "cancel" (hang up), "busy", or "hold". | |
| number | Yes | Phone number for the call, e.g. "+15551234567". | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. |