withAwaiting

Wrap this tool to conditionally await before execution.

Parameters

decider

Function that decides whether to await based on input context