docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ManageScriptCapabilities

    Handles getting Unity.ManageScript capabilities including supported operations, limits, and guards.

    Inheritance
    object
    ManageScriptCapabilities
    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
    Assembly: Unity.AI.MCP.Editor.dll
    Syntax
    public static class ManageScriptCapabilities

    Fields

    Description

    Description of the Unity.ManageScript_capabilities tool for MCP clients. Returns information about supported operations, payload limits, and guard settings for script management.

    Declaration
    public const string Description = "Get Unity.ManageScript capabilities (supported ops, limits, and guards).\n\nReturns:\n- ops: list of supported structured ops\n- text_ops: list of supported text ops\n- max_edit_payload_bytes: server edit payload cap\n- guards: header/using guard enabled flag"
    Field Value
    Type Description
    string

    Methods

    GetOutputSchema()

    Returns the output schema for this tool.

    Declaration
    [McpOutputSchema("Unity.ManageScript_capabilities")]
    public static object GetOutputSchema()
    Returns
    Type Description
    object

    The JSON schema object describing the tool's output structure.

    HandleCommand(ManageScriptCapabilitiesParams)

    Main handler for getting script capabilities.

    Declaration
    [McpTool("Unity.ManageScript_capabilities", "Get Unity.ManageScript capabilities (supported ops, limits, and guards).\n\nReturns:\n- ops: list of supported structured ops\n- text_ops: list of supported text ops\n- max_edit_payload_bytes: server edit payload cap\n- guards: header/using guard enabled flag", null, null, Groups = new string[] { "core", "scripting" })]
    public static object HandleCommand(ManageScriptCapabilitiesParams parameters)
    Parameters
    Type Name Description
    ManageScriptCapabilitiesParams parameters

    The parameters for retrieving script capabilities.

    Returns
    Type Description
    object

    A response object containing supported operations, limits, and guards.

    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)