Terminate App
mobile_terminate_appStop and terminate a running app on a mobile device by providing its package name and device identifier. Use it to close apps during automation.
Instructions
Stop and terminate an app on mobile device
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "<device>",
"packageName": "<packageName>"
},
"name": "mobile_terminate_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| packageName | Yes | The package name of the app to terminate |