MCPcopy Create free account
hub / github.com/anus-dev/ANUS / isFunctionCall

Function isFunctionCall

packages/core/src/utils/messageInspectors.ts:18–24  ·  view source on GitHub ↗
(content: Content)

Source from the content-addressed store, hash-verified

16}
17
18export function isFunctionCall(content: Content): boolean {
19 return (
20 content.role === 'model' &&
21 !!content.parts &&
22 content.parts.every((part) => !!part.functionCall)
23 );
24}

Callers 1

findLastEditTimestampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected