Skip to main content

Function: isBrandedTool()

isBrandedTool(tool): boolean

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

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

Parameters

tool

unknown

Returns

boolean