Skip to content

get_compilation_errors

Get current compilation errors and warnings without triggering a new compilation. Returns cached results from the last compilation.

Category: Code

Name Type Required Default Description
include_warnings boolean true Include warnings in the result (default: true)
file_filter string Filter errors by file path (partial match)
include_source_context boolean true Include source code context around errors (default: true)

The arguments below are the required ones; add the optional ones you need.

{
"name": "get_compilation_errors",
"arguments": {}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "get_compilation_errors", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/GetCompilationErrorsTool.cs (version 1.2.1). The client receives the same schema from tools/list.