We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3fa3d9 commit 1b40ce0Copy full SHA for 1b40ce0
Server/tools/run_tests.py
@@ -41,8 +41,8 @@ class RunTestsResponse(MCPResponse):
41
@mcp_for_unity_tool(description="Runs Unity tests for the specified mode")
42
async def run_tests(
43
ctx: Context,
44
- mode: Annotated[Literal["edit", "play"], Field(
45
- description="Unity test mode to run")] = "edit",
+ mode: Annotated[Literal["EditMode", "PlayMode"], Field(
+ description="Unity test mode to run")] = "EditMode",
46
timeout_seconds: Annotated[str, Field(
47
description="Optional timeout in seconds for the Unity test run (string, e.g. '30')")] | None = None,
48
) -> RunTestsResponse:
0 commit comments