unreal.AutomationTestToolset

class unreal.AutomationTestToolset(outer: Object | None = None, name: Name | str = 'None')

Bases: ToolsetDefinition

Automation test discovery and execution toolset.

Wraps the IAutomationControllerManager API (the same backend the Session Frontend uses) to let MCP clients list available tests, run them, and retrieve results.

Typical workflow:
  1. DiscoverTests() once per session to initialize workers and load the test list.

  2. ListTests() to find tests by name or tag.

  3. RunTests() with the desired test names.

  4. GetTestStatus() / GetTestResults() to monitor and retrieve results.

  5. StopTests() to abort if needed.

C++ Source:

  • Plugin: AutomationTestToolset

  • Module: AutomationTestToolset

  • File: AutomationTestToolset.h