unity_screenshot
Capture the Unity game or Scene view camera to a PNG and return the saved file path for visual inspection or documentation.
Instructions
Render the game camera or scene view camera to a PNG and return its path. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)
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_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | default game | |
| width | No | default 960 | |
| height | No | default 540 | |
| inline | No | also return base64 PNG |