terrain-get

Inspect a Unity Terrain component and report its TerrainData configuration.

Updated May 20, 2026
One-click install
npx skills add https://github.com/Alltwice/Unity-3D-Project --skill terrain-get-alltwice
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: terrain-get
Source: https://github.com/Alltwice/Unity-3D-Project/tree/main/.agents/skills/terrain-get
Command: npx skills add https://github.com/Alltwice/Unity-3D-Project --skill terrain-get-alltwice

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? When working with Unity scenes through an AI assistant, you often need to know how a Terrain is configured before modifying it. This Skill reads a Terrain's TerrainData — size, resolutions, layers, tree and detail prototypes, and neighbor terrains — without mutating anything, giving you a complete read-only snapshot. ## Core Features & Use Cases - TerrainData Inspection: Reads terrain size, heightmap, alphamap, and detail resolutions in one call. - Layer & Prototype Reporting: Lists assigned TerrainLayers with diffuse texture names, plus tree/detail prototype and placed tree-instance counts. - Neighbor Discovery: Reports the left, top, right, and bottom neighbor terrains for tiled terrain setups. - Use Case: Before painting heights or adding trees, ask the assistant to inspect the terrain to confirm its resolution, existing layers, and how many tree instances are already placed. ## Quick Start Ask the assistant to inspect the Terrain on a given GameObject and report its size, resolutions, layers, and tree counts.

Frequently Asked Questions about terrain-get

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I inspect a Unity Terrain's settings from an AI assistant?▼

Call the terrain-get tool with a gameObjectRef pointing to the GameObject hosting the Terrain component. It returns the TerrainData size, heightmap, alphamap, and detail resolutions, layers, prototype counts, tree instances, and neighbor terrains.

How to reference a GameObject in Unity MCP tools?▼

Provide a gameObjectRef with the object's instanceID, its hierarchy path such as 'character/hand/finger', or its name. instanceID has the highest priority and is the recommended way to identify the target GameObject.

Does terrain-get modify the Unity terrain?▼

No, terrain-get is strictly read-only. It only reads TerrainData properties like size, resolutions, layers, and tree counts, and nothing in the scene or asset is mutated during the call.

Why is unity-mcp-cli not found when running terrain-get?▼

The CLI is not installed or not on your PATH. Install it globally with 'npm install -g unity-mcp-cli' or invoke it via 'npx unity-mcp-cli', and check the unity-initial-setup skill for detailed installation steps.

Can terrain-get read neighbor terrains in a tiled setup?▼

Yes, the response includes leftNeighbor, topNeighbor, rightNeighbor, and bottomNeighbor fields with each neighbor terrain's name, or null when no neighbor is connected on that side.