unity_console_log
Retrieve recent Unity console log messages filtered by type (error, warning, info) and stack trace details.
Instructions
Get recent Unity console log messages (errors, warnings, info).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| type | No | Filter: 'error', 'warning', 'info', or 'all' (default: 'all') | |
| count | No | Number of recent messages to retrieve (default: 50) | |
| maxStackFrames | No | Frames kept per retained trace (default: 6) | |
| includeStackTrace | No | Traces to keep: 'errors' (default, error-like entries only, trimmed), 'all', 'none'. |