simulate_call
Simulate incoming calls on Android emulators to test call handling functionality during development and UI testing workflows.
Instructions
Simulate incoming call (emulator only)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone_number | Yes | ||
| device_serial | No |
Implementation Reference
- src/adb_mcp_server/server.py:1129-1135 (handler)The core handler function for the 'simulate_call' MCP tool. Decorated with @mcp.tool() which handles registration and schema inference from type hints and docstring. Executes ADB command to simulate an incoming phone call on an Android emulator.@mcp.tool() def simulate_call( phone_number: str, device_serial: str | None = None ) -> str: """Simulate incoming call (emulator only)""" return run_adb(["emu", "gsm", "call", phone_number], device_serial)