Shutdown Simulator
simctl-shutdownShut down specific, booted, or all iOS simulator devices via UDID, batch filters, or 'all' to free resources and prepare simulators for deletion.
Instructions
simctl-shutdown
Shutdown iOS simulator devices with intelligent device management.
Overview
Gracefully shuts down one or more iOS simulator devices. Supports shutting down specific devices, all currently booted devices, or all devices at once with smart targeting options. Better error handling with clear feedback when devices cannot be shut down.
Batch selection
Use all:true or deviceType/runtime filters instead of deviceId. Batch operations target available simulators; erase/delete require confirm:true. Results report each attempted device independently.
Parameters
Required
deviceId (string): Device UDID, "booted" for all booted devices, or "all" for all devices
Returns
Shutdown status with device information, duration, success indicator, command output, and next step guidance. Handles common scenarios like device already shutdown gracefully.
Examples
Shutdown specific device
await simctlShutdownTool({ deviceId: 'ABC-123-DEF' });Shutdown all booted devices
await simctlShutdownTool({ deviceId: 'booted' });Shutdown all devices
await simctlShutdownTool({ deviceId: 'all' });Related Tools
simctl-boot: Boot device after shutdown
simctl-list: Find device UDID to shutdown
simctl-delete: Delete device after shutdown (required for deletion)
Notes
Smart device targeting: "booted", "all", or specific UDID
Graceful shutdown operation
Handles "already shutdown" scenario without error
State tracking updates internal device state for better recommendations
Batch operations efficiently handle multiple device shutdowns
Required before device deletion (safety check)
Use "booted" to quickly shutdown all running simulators
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "simctl-shutdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| runtime | No | ||
| deviceId | No | ||
| deviceType | No |