Batch Commands
mobile_batch_commandsRun multiple mobile automation tools in sequence in one call to fill forms or perform multi-step flows without round-trips.
Instructions
Run multiple tools in sequence in a single call, e.g. click, type, click, type. Use this to fill forms or perform multi-step flows without round-trips. The device argument is applied to every step unless a step provides its own. Tools allowed as steps: get_more_tools, mobile_list_available_devices, mobile_login_to_cloud_provider, mobile_list_remote_devices, mobile_allocate_remote_device, mobile_release_remote_device, mobile_list_apps, mobile_get_foreground_app, mobile_launch_app, mobile_terminate_app, mobile_install_app, mobile_uninstall_app, mobile_get_screen_size, mobile_click_on_screen_at_coordinates, mobile_double_tap_on_screen, mobile_long_press_on_screen_at_coordinates, mobile_list_elements_on_screen, mobile_press_button, mobile_open_url, mobile_swipe_on_screen, mobile_type_keys, mobile_save_screenshot, mobile_set_orientation, mobile_fold_device, mobile_set_location, mobile_clipboard, mobile_get_device_logs, mobile_get_orientation, mobile_start_screen_recording, mobile_stop_screen_recording, mobile_list_crashes, mobile_get_crash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Tools to run, in order | |
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| stopOnError | No | Stop at the first failing step. Defaults to true | |
| listElementsAtEnd | No | Run mobile_list_elements_on_screen after the last step and include its result. Defaults to false |