Welcome to the forum! I concur with fooferdoggie, don’t worry about your motor. Thinking I had a bearing failure within my Bosch motor, neither my LBS (local bike shop) nor my local Trek mechanics would even consider opening the motor case. 10k miles on my Bosch motors and still going strong. What I thought to be a bearing issue is not an issue.
Check other forums re: suggested tools to carry, but if you have a decent bike your on-trail breakdowns should be very rare — other than flat tires. Take your bike to a qualified mechanic for the repairs, e.g., chain, cassette and brakes.
To minimize flat tires, use Slime or similar puncture sealant. If your wheels allow, consider tubeless tires. After several flats with tubes, I changed to tubeless tires and no flats since.
Tools I carry include a patch kit and an electric pump, a Handlebar Jack Portable Repair Stand, a hex wrench set, and disposable gloves for dirty jobs.