terminate_app
Terminates a running app on an iOS Simulator using its bundle identifier to free resources or reset state.
Instructions
Terminates a running app on the iOS Simulator by bundle identifier
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": {
"bundle_id": "<bundle_id>"
},
"name": "terminate_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | Udid of target, can also be set with the IDB_UDID env var | |
| bundle_id | Yes | Bundle identifier of the app to terminate (e.g., com.apple.mobilesafari) |