Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/tools / audit / ToolAuditEvent

Interface: ToolAuditEvent

Defined in: packages/tools/src/audit/index.ts:103

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

PropertyModifierTypeDefined in
actionreadonlyToolAuditActionpackages/tools/src/audit/index.ts:104
actorreadonlyToolAuditActorpackages/tools/src/audit/index.ts:105
context?readonly{ runId?: string; sessionId?: string; stepNumber?: number; toolCallId?: string; }packages/tools/src/audit/index.ts:109
context.runId?readonlystringpackages/tools/src/audit/index.ts:110
context.sessionId?readonlystringpackages/tools/src/audit/index.ts:111
context.stepNumber?readonlynumberpackages/tools/src/audit/index.ts:112
context.toolCallId?readonlystringpackages/tools/src/audit/index.ts:113
decisionreadonlyToolAuditDecisionpackages/tools/src/audit/index.ts:107
metadata?readonlyReadonly<Record&lt;string, unknown&gt;>packages/tools/src/audit/index.ts:115
targetreadonlystringpackages/tools/src/audit/index.ts:106
tsreadonlynumberpackages/tools/src/audit/index.ts:108