get_current_activity
Identify the current foreground screen on an Android or iOS device to verify UI state during mobile testing. Returns the activity name for the specified device.
Instructions
Get the name of the currently resumed activity (foreground screen)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | Target device ID. If omitted, uses the default device. |