Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/tools / audit / ToolAuditEvent
Interface: ToolAuditEvent
Defined in: packages/tools/src/audit/index.ts:99
Sanitized payload emitted by the tool subsystem. Listeners receive only metadata that is safe to log — the actual tool args, the matched bytes, the secret values are NEVER forwarded.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
action | readonly | ToolAuditAction | packages/tools/src/audit/index.ts:100 |
actor | readonly | ToolAuditActor | packages/tools/src/audit/index.ts:101 |
context? | readonly | { runId?: string; sessionId?: string; stepNumber?: number; toolCallId?: string; } | packages/tools/src/audit/index.ts:105 |
context.runId? | readonly | string | packages/tools/src/audit/index.ts:106 |
context.sessionId? | readonly | string | packages/tools/src/audit/index.ts:107 |
context.stepNumber? | readonly | number | packages/tools/src/audit/index.ts:108 |
context.toolCallId? | readonly | string | packages/tools/src/audit/index.ts:109 |
decision | readonly | ToolAuditDecision | packages/tools/src/audit/index.ts:103 |
metadata? | readonly | Readonly<Record<string, unknown>> | packages/tools/src/audit/index.ts:111 |
target | readonly | string | packages/tools/src/audit/index.ts:102 |
ts | readonly | number | packages/tools/src/audit/index.ts:104 |