Skip to main content

Function: whileToolCalls()

whileToolCalls(typeField?, toolCallValue?): (result) => boolean

Defined in: packages/core/src/utils/tool-loop.ts:217

Parameters

typeField?

string = 'type'

toolCallValue?

string = 'tool_call'

Returns

(result) => boolean

Deprecated

Use Baleybot.create() with tools instead. Will be removed in the next major version.