Class ValidateScriptParams
Parameters for the Unity.ValidateScript tool.
Implements
Inherited Members
Namespace: Unity.AI.MCP.Editor.Tools.Parameters
Assembly: Unity.AI.MCP.Editor.dll
Syntax
public record ValidateScriptParams : IEquatable<ValidateScriptParams>
Properties
IncludeDiagnostics
Gets or sets whether to include full diagnostic details in the response. When false, only returns error and warning counts.
Declaration
[McpDescription("When true, returns full diagnostics and summary; when false, returns counts only", Required = false)]
public bool IncludeDiagnostics { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Level
Gets or sets the validation level. Valid values are 'basic' for quick syntax checks or 'standard' for deeper analysis.
Declaration
[McpDescription("Validation level ('basic' for quick syntax checks, 'standard' for deeper checks)", Required = false)]
public string Level { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uri
Gets or sets the URI or Assets-relative path to the C# script to validate.
Declaration
[McpDescription("URI or Assets-relative path to the script (e.g., 'unity://path/Assets/Scripts/MyScript.cs', 'file://...', or 'Assets/Scripts/MyScript.cs')", Required = true)]
public string Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |