Class RunCommandParams
Parameters for the Unity.RunCommand tool.
Implements
Inherited Members
Namespace: Unity.AI.MCP.Editor.Tools.Parameters
Assembly: Unity.AI.MCP.Editor.dll
Syntax
public record RunCommandParams : IEquatable<RunCommandParams>
Properties
Code
Gets or sets the C# script code to compile and execute.
Declaration
[McpDescription("The C# script code to compile and execute. Should implement IRunCommand interface or be a valid C# script.", Required = true)]
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Gets or sets an optional title for the execution command.
Declaration
[McpDescription("Optional title for the execution command", Required = false)]
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |