namespace ClawdDotNet.Core.Tools;

public sealed record ToolResult(
    bool Success,
    string Content,
    string? ErrorMessage = null
)
{
    public static ToolResult Ok(string content) => new(true, content);

    public static ToolResult Fail(string error) => new(false, "", error);
}
