onMultipleToolCalls

Creates an edge that filters lists of tool call messages based on a custom condition.

Parameters

block

A function that evaluates whether to accept a list of tool call messages