Skip to content

Graphorin API reference v0.1.0


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

Function: stripToolCalls()

ts
function stripToolCalls(): DescribedFilter;

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

Drop every assistant toolCalls array AND every tool message. Useful when a sub-agent should only see the textual conversation.

Returns

DescribedFilter

Stable