Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/core / / hasToolCall
Function: hasToolCall()
ts
function hasToolCall(toolName): StopCondition;Defined in: packages/core/src/types/stop-condition.ts:43
Stop as soon as the most recent assistant message contains a tool call with the given name.
Parameters
| Parameter | Type |
|---|---|
toolName | string |