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
readonly action: string;Defined in: packages/core/src/observability/DebugObserver.ts:60
durationMs
readonly durationMs: number;Defined in: packages/core/src/observability/DebugObserver.ts:65
Milliseconds spent in Zod validation
error?
readonly optional error: string;Defined in: packages/core/src/observability/DebugObserver.ts:63
Validation error message if valid is false
timestamp
readonly timestamp: number;Defined in: packages/core/src/observability/DebugObserver.ts:68
tool
readonly tool: string;Defined in: packages/core/src/observability/DebugObserver.ts:59
traceId?
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
readonly type: "validate";Defined in: packages/core/src/observability/DebugObserver.ts:58
valid
readonly valid: boolean;Defined in: packages/core/src/observability/DebugObserver.ts:61