preview_control
Controls Unity Play Mode previews for a saved scene: start, capture screenshots and performance samples, advance frames, and stop only this config's preview while preserving dirty scenes.
Instructions
Observe a current saved scene in Play Mode: capture screenshot, advancing frames and performance samples. Preserves dirty scenes, refuses other running scenes; stop only this config's preview before another stage.
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": {
"config_path": "<config_path>",
"action": "<action>"
},
"name": "preview_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| sample | No | ||
| config_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||