run_e2e_test
Run an E2E test scenario in Play Mode. Executes a sequence of steps: input simulation, assertions, waits, and screenshots.
Category: Test
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
name |
string | yes | Test name for reporting | |
steps |
array | yes | Ordered list of test steps | |
auto_enter_playmode |
boolean | true |
Automatically enter Play Mode before test (default: true) | |
auto_exit_playmode |
boolean | true |
Automatically exit Play Mode after test (default: true) | |
screenshot_on_failure |
boolean | true |
Automatically capture screenshot on test failure (default: true) | |
timeout |
number | 60 |
Overall test timeout in seconds (default: 60) |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "run_e2e_test", "arguments": { "name": "…", "steps": [] }}In SuperSave mode
Section titled “In SuperSave mode”When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "run_e2e_test", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/Testing/RunE2eTestTool.cs (version 1.2.1). The client receives the same schema from tools/list.