docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ManageMenuItemParams

    Parameters for the Unity.ManageMenuItem tool.

    Inheritance
    object
    ManageMenuItemParams
    Implements
    IEquatable<ManageMenuItemParams>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AI.MCP.Editor.Tools.Parameters
    Assembly: Unity.AI.MCP.Editor.dll
    Syntax
    public record ManageMenuItemParams : IEquatable<ManageMenuItemParams>

    Properties

    Action

    Gets or sets the operation to perform.

    Declaration
    [McpDescription("Operation to perform", Required = true, Default = MenuItemAction.Execute)]
    public MenuItemAction Action { get; set; }
    Property Value
    Type Description
    MenuItemAction

    MenuPath

    Gets or sets the menu path to execute/check (e.g., 'Assets/Create/C# Script', 'File/Save Project').

    Declaration
    [McpDescription("Menu path to execute/check (e.g., 'Assets/Create/C# Script', 'File/Save Project')")]
    public string MenuPath { get; set; }
    Property Value
    Type Description
    string

    Refresh

    Gets or sets whether to force refresh of menu cache before operation.

    Declaration
    [McpDescription("Force refresh of menu cache before operation")]
    public bool Refresh { get; set; }
    Property Value
    Type Description
    bool

    Search

    Gets or sets the filter string for list action (case-insensitive search).

    Declaration
    [McpDescription("Filter string for list action (case-insensitive search)")]
    public string Search { get; set; }
    Property Value
    Type Description
    string

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)