crash_get
Reads a crash report by its id and returns a parsed JSON header with the report body, truncating if longer than 8000 characters. Optionally resolves simulator container reports using a UDID.
Instructions
Reads a crash report by its id (filename from crash_list). For .ips files returns a parsed JSON header and the report body (first ~8000 chars, truncated flag set if longer). Pass the same udid used for crash_list to also resolve sim-container reports. Path-traversal-safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Crash report filename (id from crash_list) | |
| udid | No | Simulator UDID — also looks in that sim's container DiagnosticReports |