Skip to content

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

PropertyModifierTypeDefined in
actionreadonlyToolAuditActionpackages/tools/src/audit/index.ts:100
actorreadonlyToolAuditActorpackages/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?readonlystringpackages/tools/src/audit/index.ts:106
context.sessionId?readonlystringpackages/tools/src/audit/index.ts:107
context.stepNumber?readonlynumberpackages/tools/src/audit/index.ts:108
context.toolCallId?readonlystringpackages/tools/src/audit/index.ts:109
decisionreadonlyToolAuditDecisionpackages/tools/src/audit/index.ts:103
metadata?readonlyReadonly<Record&lt;string, unknown&gt;>packages/tools/src/audit/index.ts:111
targetreadonlystringpackages/tools/src/audit/index.ts:102
tsreadonlynumberpackages/tools/src/audit/index.ts:104