Skip to content

manage_playmode

Manage Unity Play Mode: play (enter), stop (exit), pause, resume, step one frame, or status.

Category: PlayMode

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)

The arguments below are the required ones; add the optional ones you need.

{
"name": "manage_playmode",
"arguments": {
"action": "play"
}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "manage_playmode", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/ManagePlayModeTool.cs (version 1.2.1). The client receives the same schema from tools/list.