get_logs
Retrieve recent macOS system logs filtered by process, subsystem, or time range to debug applications.
Instructions
Get recent logs from macOS system. Use for debugging macOS apps.
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_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| process | No | Filter by process name (e.g., 'WorxVPNExtension', 'Safari') | |
| maxLines | No | Maximum number of log lines to return (default: 200) | |
| subsystem | No | Filter by subsystem (e.g., 'com.worxvpn.ios') | |
| lastMinutes | No | How many minutes of logs to fetch (default: 5) |