console-get-logs

Retrieves Unity Editor console logs with type filtering and optional stack traces.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill console-get-logs-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: console-get-logs
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/console-get-logs
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill console-get-logs-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Debugging Unity projects often requires manually opening the Editor console and scrolling through hundreds of log entries. This Skill retrieves Unity Editor logs programmatically, letting you filter by log type, time window, and entry count to quickly find errors and warnings. ## Core Features & Use Cases - Filtered Log Retrieval: Fetch logs filtered by type (Error, Assert, Warning, Log, Exception) and limit results with maxEntries or a time window in minutes. - Stack Trace Inclusion: Optionally include full stack traces with each log entry for deeper debugging context. - Use Case: After running a Unity scene, ask for all Error and Exception logs from the last 10 minutes with stack traces to diagnose a failing simulation without opening the Editor console. ## Quick Start Retrieve the last 50 error and exception logs from the Unity Editor including stack traces.

Frequently Asked Questions about console-get-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get Unity Editor console logs from the command line?

Run unity-mcp-cli run-tool console-get-logs with a JSON input specifying filters like maxEntries and logTypeFilter. The tool returns log entries with type, message, timestamp, and optional stack trace.

How to filter Unity logs by error type only?

Set the logTypeFilter parameter to Error or Exception in the input JSON. Valid values are Error, Assert, Warning, Log, and Exception, while null returns all log types.

Can I retrieve Unity logs from a specific time period?

Yes, set the lastMinutes parameter to a positive integer to return only logs from the last N minutes. A value of 0 returns all available logs in the console.

Why is unity-mcp-cli not found when running the command?

The CLI is not installed globally. Install it with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli to run it without a global installation.

Does the tool include stack traces in Unity log output?

Stack traces are excluded by default. Set includeStackTrace to true in the input JSON to attach the full stack trace string to each returned log entry.