I'm not sure how to phrase it in this language, so this answer is more of a comment (but too long for comments)
Note that it is related to your question via the slogan "dg-categories are the same as $\mathbb Z$-linear stable $\infty$-categories".
Taking this slogan for granted, I will answer your question in the setting of stable $\infty$-categories.
Given $A,B$ ring spectra (I'm thinking here of dg algebras as ring spectra, by viewing them as generalized Eilenberg-MacLane spectra), then the $\infty$-category of (homotopy) colimit preserving functors $Mod_A\to Mod_B$ (*) is equivalent to the $\infty$-category of $(A,B)$-bimodules. This is a stable version of the Eilenberg-Watts theorem (or yet again a stable version of Morita theory)
(*) $Mod_A$ denotes the $\infty$-category of $A$-module spectra; by a theorem of Shipley, if $A$ is a dga then this is equivalent to the $\infty$-category of dg-$A$-modules with quasi-isomorphisms inverted
The key observation here is that $(A,B)$-bimodules are the same (with your convention that "modules" means "right modules") as $B\otimes_\mathbb S A^{op}$-modules : note that the tensor product is taken over the sphere spectrum, i.e. it's really a smash product, even if $A,B$ were initially dgas. This is why you're missing some functors if you only look at $B\otimes^L_\mathbb Z A^{op}$-modules.
If you want something that is classified by "ordinary derived" $(A,B)$-bimodules, i.e. $B\otimes^L_\mathbb Z A^{op}$-modules (more generally $B\otimes^L_k A^{op}$ if $A,B$ are dg-$k$-algebras), you have to look at $D(\mathbb Z)(\simeq Mod_\mathbb Z$)-linear colimit-preserving functors $D(A)\to D(B)$, which, by the above slogan, should be the same as dg-functors.
Note that in any case, you do not get all functors, because $-\otimes_A^L X$ preserves colimits, so this is the best you can get. If you run into an additive ( $\infty$-)functor $F: D(A)\to D(B)$ in the wild, you can universally approximate it by a colimit-preserving functor $- \otimes_A F(A) \to F$, where $F(A)$ is an $(A,B)$-bimodule using the functoriality of $F$ and the right $A$-linear maps $a\cdot - : A\to A$ (you can be more precise in this description - this is where the additivity is needed).
This morphism will be an equivalence if and only if $F$ preserves colimits. If it preserves finite (homotopy) colimits, then this morphism is an equivalence on all perfect $A$-modules.
For contravariant functors, the story is indeed similar, except that now if you want something that has to do with $\hom(-,X)$, you will want functors $D(A)^{op} \to D(B)$ which preserve limits (i.e. send colimits in $D(A)$ to limits in $D(B)$). Let me sketch it below, with details missing.
With this in mind, such a functor is the same as a finite limit preserving functor $Perf(A)^{op} \to D(B)$, and $Perf(A)^{op} \simeq Perf(A^{op})$, so this is the same thing as a colimit preserving functor $D(A^{op}) \to D(B)$ (here I'm using that $Perf(A)$ and $D(B)$ are stable so preserving finite limits is equivalent to preserving finite colimits).
This is now an $(A^{op},B)$-bimodule, and the corresponds works as follows : given such a module $M$, restrict $-\otimes_{A^{op}}M$ to perfect modules, use the equivalence $\hom_A(-,A)$ between $A$ and $A^{op}$-modules to obtain that the corresponding functor $Perf(A)^{op}\to D(B)$ is $\hom_A(-,M)$. But this is clearly the restriction of the limit preserving functor $\hom_A(-,M) : D(A)^{op} \to D(B)$, so this is the corresponding functor ($\hom_A$ here, as everything in this answer, is derived). Again, if you want an ordinary (derived) bimodule, you'll need to impose some form of $\mathbb Z$-(or $k$-)linearity.
As before, you can also approximate a functor that you meet "in the wild" by such a thing, this time in the other direction though.