Class McpToolInfo
Represents the metadata and schema information for an MCP tool. Used for tool registration and discovery by MCP clients.
Inherited Members
Namespace: Unity.AI.MCP.Editor.ToolRegistry
Assembly: Unity.AI.MCP.Editor.dll
Syntax
public sealed class McpToolInfo
Properties
annotations
Additional metadata or annotations for the tool (optional).
Declaration
public object annotations { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
description
Detailed description of what the tool does and how to use it.
Declaration
public string description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
inputSchema
JSON schema defining the expected input parameters for the tool.
Declaration
public object inputSchema { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
name
Unique identifier for the tool (e.g., "Unity.ManageScene", "Unity.ManageGameObject").
Declaration
public string name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
outputSchema
JSON schema defining the structure of the tool's output (optional).
Declaration
public object outputSchema { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
title
Human-readable title for the tool displayed to users.
Declaration
public string title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |