needsApproval method

bool needsApproval(
  1. String tool
)

Whether a call of tool waits for the user's approval, by the agent list as it is now.

Implementation

bool needsApproval(String tool) =>
    _currentCapabilityFor(tool)?.needsApproval ?? false;