This means something is the most you can do. It is the only thing possible. It often shows that the action is not perfect or ideal.
に、。
The only thing I can do now is just wait.
、、。
In the end, about the only thing he could do was apologize.
、。
This problem is not something that can be solved simply by throwing money at it.
に、に。
The most he could do was apologize, and he left right after that.
、に。
Even though you call me an expert, the only thing I really understand is the basic knowledge of this field.