Files
ClawdDotNet/src/ClawdDotNet.Core/Tools/ToolResult.cs
T
RichardandClaude Opus 4.8 2fed388c99 Initial commit: ClawdDotNet
Import des bestehenden Projektstands in Git.
- .NET 10 WinForms Anwendung (Multi-Agent / Tool-System)
- .gitignore fuer Build-Artefakte, Secrets und Runtime-Daten ergaenzt

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-26 18:21:46 +02:00

13 lines
290 B
C#

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);
}