Skip to content

ToolCallDiagnostics

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Diagnostics

ToolCallDiagnostics Class

Diagnostics for a single tool/function invocation within an agent run.

public sealed record ToolCallDiagnostics : System.IEquatable<NexusLabs.Needlr.AgentFramework.Diagnostics.ToolCallDiagnostics>

Inheritance System.Object 🡒 ToolCallDiagnostics

Implements System.IEquatable<ToolCallDiagnostics>

Constructors

ToolCallDiagnostics(int, string, TimeSpan, bool, string, DateTimeOffset, DateTimeOffset, IReadOnlyDictionary<string,object>) Constructor

Diagnostics for a single tool/function invocation within an agent run.

public ToolCallDiagnostics(int Sequence, string ToolName, System.TimeSpan Duration, bool Succeeded, string? ErrorMessage, System.DateTimeOffset StartedAt, System.DateTimeOffset CompletedAt, System.Collections.Generic.IReadOnlyDictionary<string,object?>? CustomMetrics);

Parameters

Sequence System.Int32

ToolName System.String

Duration System.TimeSpan

Succeeded System.Boolean

ErrorMessage System.String

StartedAt System.DateTimeOffset

CompletedAt System.DateTimeOffset

CustomMetrics System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>