Execute Unity MenuItem via uloop CLI. Use when you need to: (1) Trigger menu commands programmatically, (2) Automate editor actions (save, build, refresh), (3) Run custom menu items defined in scripts.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
name: uloop-execute-menu-item description: Execute Unity MenuItem via uloop CLI. Use when you need to: (1) Trigger menu commands programmatically, (2) Automate editor actions (save, build, refresh), (3) Run custom menu items defined in scripts.
uloop execute-menu-item
Execute Unity MenuItem.
Usage
uloop execute-menu-item --menu-item-path "<path>"
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
--menu-item-path | string | - | Menu item path (e.g., "GameObject/Create Empty") |
--use-reflection-fallback | boolean | true | Use reflection fallback |
Examples
# Create empty GameObject
uloop execute-menu-item --menu-item-path "GameObject/Create Empty"
# Save scene
uloop execute-menu-item --menu-item-path "File/Save"
# Open project settings
uloop execute-menu-item --menu-item-path "Edit/Project Settings..."
Output
Returns JSON with execution result.
Notes
- Use
uloop get-menu-itemsto discover available menu paths - Some menu items may require specific context or selection
More by hatayama
View allGet Unity Search provider details via uloop CLI. Use when you need to: (1) Discover available search providers, (2) Understand search capabilities and filters, (3) Configure searches with specific provider options.
Execute Unity Test Runner via uloop CLI. Use when you need to: (1) Run unit tests (EditMode tests), (2) Run integration tests (PlayMode tests), (3) Verify code changes don't break existing functionality.
Sample hello world tool via uloop CLI. Use when you need to test the MCP tool system or see an example of custom tool implementation.
Control Unity Editor play mode via uloop CLI. Use when you need to: (1) Start play mode for testing, (2) Stop play mode after testing, (3) Pause play mode for debugging.
