MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getToolCallNames

Function getToolCallNames

agents/e2e/base-deep.e2e.test.ts:97–100  ·  view source on GitHub ↗
(events: PrintModeEvent[])

Source from the content-addressed store, hash-verified

95 .replace(/(^-|-$)/g, '')
96
97 const getToolCallNames = (events: PrintModeEvent[]) =>
98 events
99 .filter((event) => event.type === 'tool_call')
100 .map((event) => event.toolName)
101
102 const getSpawnedAgentTypes = (events: PrintModeEvent[]) =>
103 events

Callers 2

writeTraceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected