Class ManageMenuItemParams
Parameters for the Unity.ManageMenuItem tool.
Implements
Inherited Members
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 |