23 lines
576 B
C#
23 lines
576 B
C#
using System;
|
|
using MCPForUnity.Editor.Helpers;
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
namespace MCPForUnity.Editor.Tools
|
|
{
|
|
[McpForUnityTool("get_tool_states")]
|
|
public static class GetToolStates
|
|
{
|
|
public static object HandleCommand(JObject @params)
|
|
{
|
|
var empty = Array.Empty<object>();
|
|
return new SuccessResponse(
|
|
"Tool states are not tracked on the Unity side.",
|
|
new
|
|
{
|
|
toolStates = empty,
|
|
states = empty
|
|
});
|
|
}
|
|
}
|
|
}
|