log_collect
Collect recent simulator logs by specifying a device ID, optional time range, and predicate filter to narrow results for debugging.
Instructions
Collect recent logs from a simulator with time range and predicate filtering
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": {
"deviceId": "<deviceId>"
},
"name": "log_collect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last | No | Time range (e.g., "5m", "1h", "30s") | |
| style | No | Output style | |
| deviceId | Yes | Simulator UDID | |
| predicate | No | Log predicate filter |