Skip to main content

Function: isBrandedTool()

isBrandedTool(tool): boolean

Defined in: packages/core/src/utils/tools.ts:367

Check whether a tool definition was constructed via defineZodTool() or tool(), as opposed to a hand-written object literal.

Parameters

tool

unknown

Returns

boolean