withToolSelectionStrategy
Sets the tool selection strategy for the subgraph builder and returns the updated builder instance.
The tool selection strategy determines how tools are selected for use in the subgraph. This method allows specifying a custom strategy to override the default behavior.
Parameters
strategy
The tool selection strategy to apply. It defines the subset of tools to be included or excluded during subgraph execution.