proj/SKILLS/console-get-logs/SKILL.md
Retrieves Unity Editor logs. Useful for debugging and monitoring Unity Editor activity.
npx skillsauth add luxuia/testgame1 console-get-logsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Retrieves Unity Editor logs. Useful for debugging and monitoring Unity Editor activity.
Execute this tool directly via the MCP Plugin HTTP API:
curl -X POST http://localhost:52605/api/tools/console-get-logs \
-H "Content-Type: application/json" \
-d '{
"maxEntries": 0,
"logTypeFilter": "string_value",
"includeStackTrace": false,
"lastMinutes": 0
}'
curl -X POST http://localhost:52605/api/tools/console-get-logs \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"maxEntries": 0,
"logTypeFilter": "string_value",
"includeStackTrace": false,
"lastMinutes": 0
}'
The token is stored in the file:
UserSettings/AI-Game-Developer-Config.jsonUsing the format:"token": "YOUR_TOKEN"
| Name | Type | Required | Description |
|------|------|----------|-------------|
| maxEntries | integer | No | Maximum number of log entries to return. Minimum: 1. Default: 100 |
| logTypeFilter | any | No | Filter by log type. 'null' means All. |
| includeStackTrace | boolean | No | Include stack traces in the output. Default: false |
| lastMinutes | integer | No | Return logs from the last N minutes. If 0, returns all available logs. Default: 0 |
{
"type": "object",
"properties": {
"maxEntries": {
"type": "integer",
"description": "Maximum number of log entries to return. Minimum: 1. Default: 100"
},
"logTypeFilter": {
"$ref": "#/$defs/UnityEngine.LogType",
"description": "Filter by log type. \u0027null\u0027 means All."
},
"includeStackTrace": {
"type": "boolean",
"description": "Include stack traces in the output. Default: false"
},
"lastMinutes": {
"type": "integer",
"description": "Return logs from the last N minutes. If 0, returns all available logs. Default: 0"
}
},
"$defs": {
"UnityEngine.LogType": {
"type": "string",
"enum": [
"Error",
"Assert",
"Warning",
"Log",
"Exception"
]
}
}
}
{
"type": "object",
"properties": {
"result": {
"$ref": "#/$defs/com.IvanMurzak.Unity.MCP.LogEntry[]"
}
},
"$defs": {
"com.IvanMurzak.Unity.MCP.LogEntry": {
"type": "object",
"properties": {
"LogType": {
"type": "string",
"enum": [
"Error",
"Assert",
"Warning",
"Log",
"Exception"
]
},
"Message": {
"type": "string"
},
"Timestamp": {
"type": "string",
"format": "date-time"
},
"StackTrace": {
"type": "string"
}
},
"required": [
"LogType",
"Timestamp"
]
},
"com.IvanMurzak.Unity.MCP.LogEntry[]": {
"type": "array",
"items": {
"$ref": "#/$defs/com.IvanMurzak.Unity.MCP.LogEntry"
}
}
},
"required": [
"result"
]
}
data-ai
Generates a JSON Schema for a given C# type name using reflection. Supports primitives, enums, arrays, generic collections, dictionaries, and complex objects. The type must be present in any loaded assembly. Use the full type name (e.g. 'UnityEngine.Vector3') for best results.
development
Execute Unity tests and return detailed results. Supports filtering by test mode, assembly, namespace, class, and method. Recommended to use 'EditMode' for faster iteration during development.
tools
Updates or creates script file with the provided C# code. Does AssetDatabase.Refresh() at the end. Provides compilation error details if the code has syntax errors. Use 'script-read' tool to read existing script files first.
tools
Reads the content of a script file and returns it as a string. Use 'script-update-or-create' tool to update or create script files.