manage_playmode
Manage Unity Play Mode: play (enter), stop (exit), pause, resume, step one frame, or status.
Category: PlayMode
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
action |
string | yes | Action to perform: play (enter play mode), stop (exit play mode), pause, resume, step (single frame), status (get current state) One of: play, stop, pause, resume, step, status |
|
auto_compile |
boolean | false |
If true, compile project before entering play mode (recommended for automation). Only applies to ‘play’ action. | |
wait_for_ready |
boolean | false |
If true, wait until play mode is fully ready before returning. Use timeout_seconds to control max wait time (default 30s). | |
timeout_seconds |
integer | 30 |
Maximum time to wait in seconds when wait_for_ready=true (default: 30, max: 120) |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "manage_playmode", "arguments": { "action": "play" }}In SuperSave mode
Section titled “In SuperSave mode”When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "manage_playmode", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/ManagePlayModeTool.cs (version 1.2.1). The client receives the same schema from tools/list.