Skip to content

Interface: ValidateEvent

Defined in: packages/core/src/observability/DebugObserver.ts:57

Emitted after argument validation (pass or fail). Contains timing information for the Zod schema execution.

Properties

action

ts
readonly action: string;

Defined in: packages/core/src/observability/DebugObserver.ts:60


durationMs

ts
readonly durationMs: number;

Defined in: packages/core/src/observability/DebugObserver.ts:65

Milliseconds spent in Zod validation


error?

ts
readonly optional error: string;

Defined in: packages/core/src/observability/DebugObserver.ts:63

Validation error message if valid is false


timestamp

ts
readonly timestamp: number;

Defined in: packages/core/src/observability/DebugObserver.ts:68


tool

ts
readonly tool: string;

Defined in: packages/core/src/observability/DebugObserver.ts:59


traceId?

ts
readonly optional traceId: string;

Defined in: packages/core/src/observability/DebugObserver.ts:67

Short hex trace ID for correlating events in the same request lifecycle


type

ts
readonly type: "validate";

Defined in: packages/core/src/observability/DebugObserver.ts:58


valid

ts
readonly valid: boolean;

Defined in: packages/core/src/observability/DebugObserver.ts:61