phone_logs
Capture and read a paired phone's live system log to debug app issues. Start capture, reproduce the problem, then read filtered results; stop or clear the buffer as needed.
Instructions
Capture and read the paired phone's live system log for app debugging; use phone_crashes for saved crash reports instead. Start capture, reproduce the issue, then read (the default); stop releases the relay, while clear discards the in-memory buffer. Requires a reachable, paired device; connection/auth failures are errors, not an empty log. Capture self-stops after 15 minutes without reads. Filters apply to read results; pass the returned next cursor as since for incremental reads. Output lines are #seq time process[pid] level: message; error includes faults. Logs can contain private app data: collect only what the task needs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | read: this level or more severe: debug, info, notice, error, fault. | |
| limit | No | read: at most this many lines (default 50). | |
| since | No | read: lines after this cursor — the previous read's `next`. | |
| action | No | `start` capturing the phone's system log, `read` (default) what was captured, `stop`, or `clear` the buffer. Capture stops by itself when nobody reads for a while. | |
| process | No | read: only this process (exact name, case-insensitive). | |
| contains | No | read: only messages containing this text (case-insensitive). | |
| instance | No | Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure. |