docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ReadConsoleParams

    Parameters for the Unity.ReadConsole tool.

    Inheritance
    object
    ReadConsoleParams
    Implements
    IEquatable<ReadConsoleParams>
    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 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[]

    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)