get_simulator_logs
Retrieve logs from a booted iOS Simulator to debug app behavior. Filter by process name, time range, or limit lines.
Instructions
Get logs from an iOS Simulator. The simulator must be booted.
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": {
"simulator": "<simulator>"
},
"name": "get_simulator_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| process | No | Filter by process/app name | |
| maxLines | No | Maximum log lines (default: 200) | |
| simulator | Yes | Simulator name or UDID (use list_simulators to find) | |
| lastMinutes | No | How many minutes of logs to fetch (default: 5) |