Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Retrieves root GameObjects from an opened Unity scene, with optional path-scoped reads to limit returned data.
Use this skill ↓32% 77%+45 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 7 of 22 without it.
3 of 3 safety checks passed
Not used yet
This tool retrieves the list of root GameObjects in the specified scene. Use 'scene-list-opened' tool to get the list of all opened scenes.
false to keep responses small)includeRootGameObjects — include root GameObjects in the scene data.includeChildrenDepth (default 3) — depth of the hierarchy to include.includeBounds — include 3D bounds for GameObjects.includeData — include serialized component data for GameObjects.Supply paths to read only the listed fields/elements from the scene's root-GameObjects array via Reflector.TryReadAt, or viewQuery to navigate/filter the same array via Reflector.View. The result populates Data on the returned SceneData. These two parameters are mutually exclusive.
fieldName, nested/field, arrayField/[i], dictField/[key]. Leading #/ is stripped. Example: paths=['[0]/name'] reads the name of the first root GameObject.
unity-mcp-cli run-tool scene-get-data --input '{
"openedSceneName": "string_value",
"includeRootGameObjects": false,
"includeChildrenDepth": 0,
"includeBounds": false,
"includeData": 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 scene-get-data --input-file args.jsonOr pipe via stdin (recommended):
Next to this one in the catalogue, plus more from the same author.