Stream macOS unified logging for a bounded window
logStreamCapture and parse iOS log entries for a bounded duration (up to 60 seconds) to inspect specific user flows without a full Console.app session.
Instructions
[mg.log] Wrap log stream --style compact for a bounded duration (≤60 s — MCP requests should not block longer). Returns parsed entries collected during the window. Useful for capturing a specific user flow without setting up a full Console.app session.
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": "logStream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| durationSec | No | How long to listen for log entries (max 60 seconds — MCP requests should not block longer). Default 10. | |
| predicate | No | ||
| process | No | ||
| subsystem | No | ||
| level | No | default | |
| maxEntries | No |