analyze_memory
Analyze current memory usage. Provides breakdown by category (textures, meshes, audio, etc.) and optimization suggestions.
Category: Performance
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
include_asset_breakdown |
boolean | true |
Include detailed asset memory breakdown | |
include_top_consumers |
boolean | true |
List top memory consuming assets | |
top_count |
integer | 10 |
Number of top consumers to list | |
take_snapshot |
boolean | false |
Take a memory snapshot (requires Memory Profiler package) |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "analyze_memory", "arguments": {}}In SuperSave mode
Section titled “In SuperSave mode”When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "analyze_memory", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/AnalyzeMemoryTool.cs (version 1.2.1). The client receives the same schema from tools/list.