control_play_mode
Starts, pauses, resumes, or stops Unity Play Mode while waiting for compilation and editor state changes, helping AI clients coordinate editor operations reliably.
Instructions
Start, pause, resume, or stop Unity Play Mode. Waits for Unity's exported editor state to reach the requested state and for compilation to finish, including across a domain reload. Requires BanterMCPBridge extension to be installed and Unity Editor running.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "control_play_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Requested Play Mode action | |
| timeoutMs | No | Maximum time to wait for Unity to reach the requested state |