API ReferenceEditor.Mcp

McpToolsetAttributeclass

Groups a class of `Editor.Mcp.McpToolAttribute` tools into a named toolset, which agents browse with list_toolsets and describe_toolset. Without this a class's tools still group under a name derived from the class name - the attribute exists to pick that name deliberately and describe what the group is for.

objectAttributeMcpToolsetAttribute
Namespace
Editor.Mcp
Assembly
Sandbox.Tools
Declaration
public class Editor.Mcp.McpToolsetAttribute : System.Attribute

Constructors1

Showing 1 constructors

public McpToolsetAttribute(string name, string description = null)PUBLICCONSTRUCTOR

ParameterTypeDescription
namestring
description = nullstring

Properties2

Showing 2 properties

public string Editor.Mcp.McpToolsetAttribute.Description { get; set; }PUBLICGETSET

What this group of tools is for. Shown by list_toolsets, so it's what makes the toolset worth describing.

Returns:string

public string Editor.Mcp.McpToolsetAttribute.Name { get; set; }PUBLICGETSET

The toolset name agents browse by. Treat it as public API - agents and their workflows break when it changes.

Returns:string

On this page