visual_regression_test
Visual regression testing via screenshot comparison. Captures current state and compares against baseline. Detects unintended visual changes.
Category: Test
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
action |
string | "compare" |
Action: compare (test), update_baseline (save new), list_baselines, delete_baseline. One of: compare, update_baseline, list_baselines, delete_baseline |
|
name |
string | yes | Baseline name (used as filename) | |
view |
string | "game" |
One of: game, scene |
|
threshold |
number | 1 |
Allowed difference percentage (0-100, default: 1.0) | |
width |
integer | 0 |
||
height |
integer | 0 |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "visual_regression_test", "arguments": { "name": "…" }}In SuperSave mode
Section titled “In SuperSave mode”When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "visual_regression_test", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/Testing/VisualRegressionTestTool.cs (version 1.2.1). The client receives the same schema from tools/list.