/ releasenotes / notes / support-multi-tool-blocking-confirmation-strategy-eb488f6aead91da9.yaml
support-multi-tool-blocking-confirmation-strategy-eb488f6aead91da9.yaml
 1  enhancements:
 2    - |
 3      Agent components allow grouping multiple tools under a single confirmation strategy.
 4  
 5      Here is an example of how three tools can be grouped under a BlockingConfirmationStrategy:
 6  
 7      .. code:: python
 8          confirmation_strategies = {
 9              ("tool1", "tool2", "tool3"): BlockingConfirmationStrategy()
10          }
11  
12      instead of previously needing
13  
14      .. code:: python
15          confirmation_strategies = {
16              "tool1": BlockingConfirmationStrategy(),
17              "tool2": BlockingConfirmationStrategy(),
18              "tool3": BlockingConfirmationStrategy()
19          }