iOS Simulator: Get Crash Log
ios_simulator_get_crash_logRead one simulator crash report and return what matters in it: the exception, why the process was terminated, any application-specific message, and the faulting thread's top frames with library names resolved.
Instructions
Read one simulator crash report and return what matters in it: the exception, why the process was terminated, any application-specific message, and the faulting thread's top frames with library names resolved. The full report's path is returned too; it is often tens of kilobytes, so read it only when the summary is not enough. A Swift fatalError's message may not be in the report at all — on a simulator it goes to the app's stderr.
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": {
"name": "<name>"
},
"name": "ios_simulator_get_crash_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The report's `name` from ios_simulator_list_crash_logs, e.g. "Canopy-2026-10-08-101500.ips" or "Retired/Canopy-2026-10-02-213409.ips". Older reports move under Retired/, so a name that worked yesterday may need listing again. |