evaluateToolResult

Deprecated

Use evaluate() which supports both adding and removing tools

Replace with

evaluate(context)

Legacy method for backward compatibility. Override evaluate instead for new implementations.

Return

Tools to add, or empty list if none

Parameters

context

The current state of the tool loop