I was just curious if the same actions that would assemble an object could be reversed to disassemble it, or if there were other necessary actions that needed to be taken.
Approximately, yes. In detail, no, because you need slightly different manipulator heads for assembly vs. disassembly of the same molecule, because...
I understand that energy needs to be put in to break a molecular bond, so is that something that would have to be taken into account as well?
...of exactly that.
The definitive works on this subject are Nanosystems (which is more technical) and Engines of Creation (which is more pop-science / aspirational), both by Eric Drexler.
Nanobots would work essentially by catalyzing chemistry by placing reactants in very specific positions--pretty much like natural enzymes do, but with fixed engineered pathways for providing materials to reaction sites, rather than relying on random collisions in a solute. To build something, you use a manipulator site, like a atomic force microscope probe, that has an atom or molecule you want to place bonded to it, and position it such that it will form a stronger bond with the stubstrate and thus be pulled away. To disassemble, you do the same thing in reverse--use an appendage which is designed to bond more strongly to whatever you want to remove than that target bonds to its existing substrate, position the appendage to encourage the reaction, then pull it away. Note that we can actually do all of these steps already with atomic force microscopes to position individual atoms--we just can't do it very quickly or energy-efficiently, because all the machinery around the manipulator tip of an atomic force microscope is rather large!
Note that naively this set of processes would seem to go strictly one way--one kind of nanobot can construct things, one kind can deconstrust them, and whichever one happens to be the energy-producing order for those steps to occur in is the only one that will happen. It's like trying to get sticky stuff off your hands--you try to rub it off, and it just gets stuck to your other hand, so you use it towel, but now the stuff is stuck to the towel, so you wash the towel and now the sticky stuff is disposed of, but you can't get it back and re-use it; you can't push it through the pathway in the opposite direction. Fortunately, however, there are ways around that--the same ways that are employed by living organisms, in fact. The nanobots just have to supply energy, which manifests as altering the physical conformation or electronic state of their manipulator sites, which raise or lower the bond energies and allow passing atomic and molecular materials around in a reversible manner. In most cases, this still requires multiple manipulator types to construct anything particularly complex, and whether construction or destruction consumes vs. produces energy will depend on exactly which kinds of molecules you are trying to construct or destruct, but you can design molecular systems which will do both.