editor-application-set-state
Sets the Unity Editor playmode state: start, stop, pause, or resume. Use with get-state tool to verify current state.
Instructions
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.
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": "editor-application-set-state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isPlaying | No | If true, the 'playmode' will be started. If false, the 'playmode' will be stopped. | false |
| isPaused | No | If true, the 'playmode' will be paused. If false, the 'playmode' will be resumed. | false |