nexus-agents - v2.80.0
    Preparing search index...

    Interface LogToolInvocationOpts

    Options for logging tool invocation audit

    interface LogToolInvocationOpts {
        auditLogger: IAuditLogger;
        toolName: string;
        outcome: "error" | "success" | "failure" | "denied";
        actor: {
            type: "system" | "user" | "external" | "agent";
            id: string;
            name?: string;
            ip?: string;
            userAgent?: string;
        };
        requestId: string;
        durationMs?: number;
        errorMessage?: string;
    }
    Index

    Properties

    auditLogger: IAuditLogger
    toolName: string
    outcome: "error" | "success" | "failure" | "denied"
    actor: {
        type: "system" | "user" | "external" | "agent";
        id: string;
        name?: string;
        ip?: string;
        userAgent?: string;
    }
    requestId: string
    durationMs?: number
    errorMessage?: string