get_device_logs
Retrieve recent console logs from an iOS simulator or Android emulator to diagnose app issues, with optional regex filtering and a configurable lookback window.
Instructions
Capture recent device console logs from the simulator/emulator
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": "get_device_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Regex pattern to filter log lines | |
| duration | No | How many seconds back to look (default: 30) |