AGENT SKILL

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.

License 许可
MIT
所属仓库
devwinsoft/devian
最近更新
2026-04-12
Stars
★ 0
Forks
0

01 前言 Front Matter

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.

03 SKILL.md 正文

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:50187/api/tools/screenshot-scene-view \
  -H "Content-Type: application/json" \
  -d '{
  "width": 0,
  "height": 0
}'

With Authorization (if required)

curl -X POST http://localhost:50187/api/tools/screenshot-scene-view \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{
  "width": 0,
  "height": 0
}'

The token is stored in the file: UserSettings/AI-Game-Developer-Config.json Using the format: "token": "YOUR_TOKEN"

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.

04 同仓库更多 Skills