Skip to main content

incoming_call

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Simulate an incoming call: "ring", then "accept" or "hang". These call app_call.

incoming_call​

def incoming_call(action: str='ring', number: str | None=None) -> None

Simulate an incoming call: "ring", "accept" or "hang".

Emulator only — a real phone cannot be made to ring from outside.

Examples​

Ring the device with an incoming call​

device.incoming_call(number="5551234")

The same call from the command line, mobium call --number 5551234, printed on an Android 15 emulator:

ringing a call from 5551234

mobium call --number 5551234 on an Android 15 emulator

mobium call --number 5551234 on an Android 15 emulator

Hang up​

device.incoming_call("hang")

The same call from the command line, mobium call hang, printed on an Android 15 emulator:

ended a call from 5551234