Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Returns a GameObject Component's type, enabled state, and optionally serialized fields and properties, with path-scoped reads.
Use this skill ↓18% 86%+68 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 4 of 22 without it.
3 of 3 safety checks passed
Not used yet
Get detailed information about a specific Component on a GameObject. Returns component type, enabled state, and optionally serialized fields and properties. Use this to inspect component data before modifying it. Use 'gameobject-find' tool to get the list of all components on the GameObject.
gameObjectRef — the host GameObject.componentRef — the specific component to inspect (matched by index or instance ID).includeFields (default true) — populate the legacy Fields list.includeProperties (default true) — populate the legacy Properties list.deepSerialization (default false) — when populating legacy lists, recurse into nested members.Supply paths (a list of paths) to read only the listed fields/elements via Reflector.TryReadAt, or viewQuery (a ViewQuery) to navigate to a subtree and/or filter by name regex / max depth / type via Reflector.View. The result is returned in the View field of the response, and the legacy Fields/Properties lists are skipped. These two parameters are mutually exclusive — supply at most one.
fieldName, nested/field, arrayField/[i], dictField/[key]. Leading #/ is stripped.
unity-mcp-cli run-tool gameobject-component-get --input '{
"gameObjectRef": "string_value",
"componentRef": "string_value",
"includeFields": false,
"includeProperties": false,
"deepSerialization": false,
"paths": "string_value",
"viewQuery": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool gameobject-component-get --input-file args.jsonOr pipe via stdin (recommended):
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.