set_play_mode
Control Unity Play mode by starting, stopping, pausing, or resuming scene testing from the MCP server.
Instructions
Start, stop or pause Play mode.
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": "set_play_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |