uloop-get-menu-items
Retrieve Unity MenuItems via uloop CLI. Use when you need to: (1) Discover available menu commands in Unity Editor, (2) Find menu paths for automation, (3) Prepare for executing menu items programmatically.
When & Why to Use This Skill
The uloop-get-menu-items skill enables developers to programmatically discover and retrieve Unity Editor menu commands via the uloop CLI. It serves as a critical bridge for Unity automation, allowing users to find exact menu paths for script execution, streamline editor workflows, and integrate Unity tasks into automated pipelines or AI-driven development agents.
Use Cases
- Unity Workflow Automation: Identify and extract specific menu paths to automate repetitive editor tasks and custom tool actions via the uloop CLI.
- CI/CD Pipeline Integration: Facilitate automated builds, asset processing, or project exports by programmatically accessing Unity's internal menu commands in headless environments.
- AI-Driven Development: Empower AI agents to understand and interact with the Unity Editor's capabilities by providing a searchable, machine-readable index of available menu actions.
- Editor Command Discovery: Quickly locate obscure or deeply nested menu items using advanced text filters and validation checks, improving developer productivity during tool development.
| name | uloop-get-menu-items |
|---|---|
| description | "Retrieve Unity MenuItems via uloop CLI. Use when you need to: (1) Discover available menu commands in Unity Editor, (2) Find menu paths for automation, (3) Prepare for executing menu items programmatically." |
uloop get-menu-items
Retrieve Unity MenuItems.
Usage
uloop get-menu-items [options]
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
--filter-text |
string | - | Filter text |
--filter-type |
string | contains |
Filter type: contains, exact, startswith |
--max-count |
integer | 200 |
Maximum number of items |
--include-validation |
boolean | false |
Include validation functions |
Examples
# List all menu items
uloop get-menu-items
# Filter by text
uloop get-menu-items --filter-text "GameObject"
# Exact match
uloop get-menu-items --filter-text "File/Save" --filter-type exact
Output
Returns JSON array of menu items with paths and metadata.
Notes
Use with uloop execute-menu-item to run discovered menu commands.