analyze_frame
Analyze the current frame’s rendering performance. Provides draw call count, shader usage, and optimization recommendations.
Category: Performance
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
enable_frame_debugger |
boolean | true |
Enable Frame Debugger to capture frame data | |
include_shader_details |
boolean | false |
Include detailed shader information | |
include_recommendations |
boolean | true |
Include optimization recommendations |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "analyze_frame", "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_frame", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/AnalyzeFrameTool.cs (version 1.2.1). The client receives the same schema from tools/list.