pub fn is_api_error(err: &Error) -> bool
True if an error came from the provider/request layer rather than local tool execution or response parsing. The controller can skip a round for these.