Tool execution metrics

interface ToolMetrics {
    traceId: string;
    spanId: string;
    toolName: string;
    inputSize: number;
    outputSize: number;
    latencyMs: number;
    success: boolean;
    error?: string;
    timestamp: Date;
}

Properties

traceId: string
spanId: string
toolName: string
inputSize: number
outputSize: number
latencyMs: number
success: boolean
error?: string
timestamp: Date