Skip to content

unity_reflect

Inspect .NET/Unity types via reflection: get type info, search types, get member details, and invoke static methods

Category: Editor

Name Type Required Default Description
action string yes Action to perform. One of: get_type, search_type, get_member, invoke_method
type_name string Fully qualified type name (e.g. UnityEngine.GameObject)
search_query string Partial type name to search for (search_type action)
member_name string Member name to inspect (get_member action)
method_args array Arguments for static method invocation (invoke_method action)

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

{
"name": "unity_reflect",
"arguments": {
"action": "get_type"
}
}

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

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