Simulator logs
ios_logsFetch recent iOS Simulator unified log lines and filter them by app process, message substring, or time window to debug React Native console output and runtime errors.
Instructions
Recent unified-log lines from the simulator. Filter by process (the app's product name, e.g. 'MyApp') and/or a substring. JS console output from RN shows up under the app process.
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": "ios_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Simulator udid or name. Default "booted" (the running simulator). | |
| process | No | Process name to filter on, usually the app name | |
| contains | No | Case-insensitive substring filter on the message | |
| maxLines | No | Default 200 (the last ones) | |
| lastMinutes | No | Window, default 2 |