onMultipleToolResults

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

Parameters

block

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