rokojori_action_library/Tools/mcp/ToolCallOutcome.cs

23 lines
400 B
C#
Raw Normal View History

2026-10-03 12:15:58 +00:00
#if TOOLS
namespace Rokojori.Tools
{
public class ToolCallOutcome
{
public string text;
public bool isError;
public static ToolCallOutcome Ok( string text )
{
return new ToolCallOutcome{ text = text, isError = false };
}
public static ToolCallOutcome Error( string text )
{
return new ToolCallOutcome{ text = text, isError = true };
}
}
}
#endif