--- name: screenshot-scene-view description: Captures a screenshot from the Unity Editor Scene View and returns it as an image. Returns the image directly for visual inspection by the LLM.
Screenshot / Scene View
Captures a screenshot from the Unity Editor Scene View and returns it as an image. Returns the image directly for visual inspection by the LLM.
How to Call
HTTP API (Direct Tool Execution)
Execute this tool directly via the MCP Plugin HTTP API:
curl -X POST http://localhost:56342/api/tools/screenshot-scene-view \
-H "Content-Type: application/json" \
-d '{
"width": 0,
"height": 0
}'
With Authorization (if required)
curl -X POST http://localhost:56342/api/tools/screenshot-scene-view \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"width": 0,
"height": 0
}'
Input
| Name | Type | Required | Description |
|---|---|---|---|
width |
integer |
No | Width of the screenshot in pixels. |
height |
integer |
No | Height of the screenshot in pixels. |
Input JSON Schema
{
"type": "object",
"properties": {
"width": {
"type": "integer",
"description": "Width of the screenshot in pixels."
},
"height": {
"type": "integer",
"description": "Height of the screenshot in pixels."
}
}
}
Output
This tool does not return structured output.