Documentation
README
Editor / Application / Set State
Control the Unity Editor application state. You can start, stop, or pause the 'playmode'. Use 'editor-application-get-state' tool to get the current state first.
Inputs
isPlaying(defaultfalse) — setsEditorApplication.isPlaying.isPaused(defaultfalse) — setsEditorApplication.isPaused.
Behavior
Refuses any state change while EditorUtility.scriptCompilationFailed is true — instead throws with the compilation error details so the caller can fix them first. On success returns the post-change EditorStatsData snapshot.
How to Call
unity-mcp-cli run-tool editor-application-set-state --input '{
"isPlaying": false,
"isPaused": false
}'
This is the opening of the README. Read the full README on GitHub.