phone_logs
Capture and read a paired phone’s live system log to debug apps: start capture, reproduce the issue, then read filtered lines by process, text, level, and cursor; stop or clear when done.
Instructions
Capture and read the paired phone's live system log for app debugging (phone_crashes for saved crash reports). action: start, then reproduce, then read (default; filters process/contains/level, pass the returned next as since); stop releases the relay, clear drops the buffer. Connection/auth failures are errors, not an empty log. Capture stops itself after 15 min without reads. Lines: #seq time process[pid] level: message. Logs may hold private data: collect only what the task needs.
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": "phone_logs"
}
}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 | daemon instance name |