@reactor/ai — hastoolcalls
@reactor/ai / hasToolCalls
Function: hasToolCalls()
Section titled “Function: hasToolCalls()”hasToolCalls(
response):boolean
Defined in: index.ts:378
Check if the response contains tool calls.
Parameters
Section titled “Parameters”response
Section titled “response”Returns
Section titled “Returns”boolean