pt_terminate_app
Force terminate a running iOS application on a simulator using its bundle ID. Enable fresh app state for automation.
Instructions
Terminate (force close) a running iOS application.
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": {
"bundleId": "<bundleId>"
},
"name": "pt_terminate_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Simulator UDID (uses active device if not specified) | |
| bundleId | Yes | The bundle ID of the app to terminate |