Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/agent / filters / stripSensitiveOutputs

Function: stripSensitiveOutputs()

ts
function stripSensitiveOutputs(): DescribedFilter;

Defined in: packages/agent/src/filters/index.ts:227

Strip tool messages whose content carries the literal token [REDACTED:secret] or whose secret annotation marks the body as sensitive. Conservative-by-design: the agent runtime tags sensitive tool outputs at session-write time so this filter has stable bytes to scan against.

Returns

DescribedFilter

Stable