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.
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": {
"id": "<id>"
},
"name": "crash_get"
}
}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 |