gameobject-component-get

Fetch detailed component information from Unity GameObjects with filtering and serialization.

Updated May 3, 2026
One-click install
npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill gameobject-component-get-rakamenouya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameobject-component-get
Source: https://github.com/RakameNouya/MR-Bab_10_and_Kel_3/tree/main/.gemini/skills/gameobject-component-get
Command: npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill gameobject-component-get-rakamenouya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides an efficient way to gather comprehensive details about a specific component attached to a GameObject in Unity.

Core Features & Use Cases

  • Component Information: Retrieve component type, enabled state, and optional serialized fields and properties.
  • Path-Scoped Reads: Supports token-saving reads via paths or viewQuery for precise data retrieval.
  • Use Case: If you need to quickly inspect a component's data before modification, this Skill offers a streamlined process to fetch the necessary details.

Quick Start

To get information about the component on a GameObject with instance ID 123, run: unity-mcp-cli run-tool gameobject-component-get --input '{"gameObjectRef": {"instanceID": 123}, "componentRef": {"index": 0}}'

Frequently Asked Questions about gameobject-component-get

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

FAQPage Schema
How do I retrieve component information from a Unity GameObject?

You retrieve Unity GameObject component information by fetching its type, enabled state, and serialized fields. This Skill streamlines gathering detailed component data for debugging and data retrieval workflows.

Can I filter specific fields and properties when inspecting a Unity component?

Yes, you can filter specific fields and properties when inspecting a Unity component. The tool supports token-saving reads via paths or viewQuery parameters, allowing scoped and precise data retrieval.

Do I need unity-mcp-cli to get component details from a GameObject?

Yes, you need unity-mcp-cli to execute this Skill and get component details from a GameObject. It acts as the required command-line interface to run the tool and fetch component data.

What is the best way to inspect Unity component data before modification?

The best way to inspect Unity component data before modification is using path-scoped reads. This method fetches only the necessary serialized fields and properties, saving tokens while providing comprehensive component details.

How do I fetch a specific component using an instance ID in Unity?

You fetch a specific component using an instance ID in Unity by running unity-mcp-cli. Provide the GameObject instance ID and component index in the input JSON to retrieve the detailed component information.