Get Play Mode State
unity_get_play_modeCheck whether the Unity Editor is stopped, playing, or paused before making edits, since changes made during play mode are discarded when playback stops.
Instructions
Report stopped|playing|paused. Use before set or before assuming edits apply (edits in play mode are discarded on stop).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unity_get_play_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||