Class ReadConsoleParams
Parameters for the Unity.ReadConsole tool.
Implements
Inherited Members
Namespace: Unity.AI.MCP.Editor.Tools.Parameters
Assembly: Unity.AI.MCP.Editor.dll
Syntax
public record ReadConsoleParams : IEquatable<ReadConsoleParams>
Properties
Action
Gets or sets the operation to perform (get or clear).
Declaration
[McpDescription("Operation to perform (get or clear)", Required = false, Default = ConsoleAction.Get)]
public ConsoleAction Action { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsoleAction |
Count
Gets or sets the maximum number of console entries to retrieve.
Declaration
[McpDescription("Maximum number of console entries to retrieve", Required = false, Default = 100)]
public int? Count { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
FilterText
Gets or sets the filter text to search for inO messages.
Declaration
[McpDescription("Filter text to search for in messages", Required = false)]
public string FilterText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Format
Gets or sets the output format for console entries.
Declaration
[McpDescription("Output format for console entries", Required = false, Default = ConsoleOutputFormat.Detailed)]
public ConsoleOutputFormat Format { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsoleOutputFormat |
IncludeStacktrace
Gets or sets whether to include stack traces in output.
Declaration
[McpDescription("Include stack traces in output", Required = false, Default = true)]
public bool IncludeStacktrace { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SinceTimestamp
Gets or sets the timestamp to get messages after (ISO 8601 format).
Declaration
[McpDescription("Get messages after this timestamp (ISO 8601)", Required = false)]
public string SinceTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Types
Gets or sets the console log types to retrieve.
Declaration
[McpDescription("Console log types to retrieve", Required = false)]
public ConsoleLogType[] Types { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsoleLogType[] |