capture_unity_screenshot
Captures the active Unity Game camera or Scene View as a PNG and returns screenshot metadata plus an image block, so AI clients can inspect rendered views.
Instructions
Capture the active Game camera or Scene View as a PNG. Returns screenshot metadata and an MCP image block. Game capture works in Edit or Play Mode; Scene capture requires an open Scene View. Requires BanterMCPBridge extension to be installed and Unity Editor running.
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": "capture_unity_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | PNG width in pixels | |
| height | No | PNG height in pixels | |
| source | No | View to capture | game |
| cameraId | No | Optional Camera component globalObjectId for Game capture | |
| cameraPath | No | Legacy path to a GameObject containing the Camera component | |
| includeImage | No | Include the PNG as an MCP image block; false returns metadata and the local image path only | |
| maxImageBytes | No | Maximum PNG bytes allowed in the inline MCP image payload |