unity-mcp/Editor/Models/Command.cs

20 lines
461 B
C#
Raw Normal View History

2025-03-18 19:00:50 +08:00
using Newtonsoft.Json.Linq;
namespace MCPServer.Editor.Models
{
/// <summary>
/// Represents a command received from the MCP client
/// </summary>
public class Command
{
/// <summary>
/// The type of command to execute
/// </summary>
public string type { get; set; }
/// <summary>
/// The parameters for the command
/// </summary>
public JObject @params { get; set; }
}
}