gameobject.getData
Get detailed object data
How to use it
gameobject.getData is exposed by the Openclaw Unity Plugin MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the gameobject.getData tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL OPENCLAW UNITY PLUGIN LISTINGOther tools in Openclaw Unity Plugin (39)
Get play mode, FPS, etc.
Toggle pause (Editor)
Enter play mode (Editor)
Exit play mode (Editor)
Add component to object
Get component data
List available types
Remove component
Set field/property value
Clear captured logs
Get error/exception logs (with optional warnings)
Get Unity console logs (with type filter)
Text hierarchy view
Write to console
Capture screenshot (with UI)
Refresh AssetDatabase (triggers recompile)
Create GameObject or primitive
Delete a GameObject (alias for destroy)
Destroy a GameObject
Find by name, tag, or component type
Get all GameObjects with filtering
Enable/disable object
Change parent
Get active scene info
Get scene hierarchy data
List all scenes in build settings
Load a scene by name (Play mode)
Open a scene in Editor mode
Save active scene (Editor mode)
Save all open scenes (Editor mode)
Execute code/methods (Debug.Log, Time.timeScale, PlayerPrefs, reflection calls)
List script files in project
Read script file contents
Get world position (x, y, z)
Get rotation in Euler angles
Get local scale
Set world position
Set rotation (Euler)
Set local scale