pub fn try_acquire() -> Result<()>
Public API – try to acquire permission for a tool call.
Returns Ok(()) when the call is allowed, otherwise an error.
Ok(())